Skip to content

Commit

Permalink
Revert "fix condition for undefined"
Browse files Browse the repository at this point in the history
This reverts commit d7a4a4d.
  • Loading branch information
tomasMizera committed Jun 10, 2021
1 parent d7a4a4d commit 1c4f773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/qml/editor/inputrange.qml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Item {
property string suffix: config["Suffix"] ? config["Suffix"] : ""

function getRange(rangeValue, defaultRange) {
if ( typeof rangeValue !== undefined && rangeValue >= -max_range && rangeValue <= max_range)
if (rangeValue && rangeValue >= -max_range && rangeValue <= max_range)
return rangeValue
else return defaultRange/spinbox.multiplier
}
Expand Down

6 comments on commit 1c4f773

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

signed apk: armeabi-v7a (SDK: android-22)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

signed apk: arm64-v8a (SDK: android-22)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ios-2.15.210610171439 (SDK: ios-15)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ios-1.15.210611092827 (SDK: ios-15)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

signed apk: arm64-v8a (SDK: android-22)

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

signed apk: armeabi-v7a (SDK: android-22)

Please sign in to comment.