CURA-5204 Revert a change since it sets the setting to false if the

panel is not visible.
This commit is contained in:
Diego Prado Gesto 2018-04-20 13:36:07 +02:00
parent 121d1806be
commit 122b5e36cf

View file

@ -652,7 +652,7 @@ UM.PreferencesPage
{
id: checkUpdatesCheckbox
text: catalog.i18nc("@option:check","Check for updates on start")
checked: parent.visible ? boolCheck(UM.Preferences.getValue("info/automatic_update_check")): false
checked: boolCheck(UM.Preferences.getValue("info/automatic_update_check"))
onCheckedChanged: UM.Preferences.setValue("info/automatic_update_check", checked)
}
}
@ -667,7 +667,7 @@ UM.PreferencesPage
{
id: sendDataCheckbox
text: catalog.i18nc("@option:check","Send (anonymous) print information")
checked: parent.visible ? boolCheck(UM.Preferences.getValue("info/send_slice_info")) : false
checked: boolCheck(UM.Preferences.getValue("info/send_slice_info"))
onCheckedChanged: UM.Preferences.setValue("info/send_slice_info", checked)
}