Browse Source

Fix SettingCheckbox.qml warning.

Remco Burema 5 years ago
parent
commit
261ee5b7f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/qml/Settings/SettingCheckBox.qml

+ 1 - 1
resources/qml/Settings/SettingCheckBox.qml

@@ -48,7 +48,7 @@ SettingItem
                 case "False":
                     return false
                 default:
-                    return value
+                    return (value !== undefined) ? value : false
             }
         }