Fixed unnecessary property set in Global Settings

This commit is contained in:
Marta Marczykowska-Górecka 2019-04-12 00:30:12 +02:00
parent b9316bcd62
commit 733f00ddf2
No known key found for this signature in database
GPG Key ID: 9A752C30B26FD04B

View File

@ -284,7 +284,8 @@ class GlobalSettingsWindow(ui_globalsettingsdlg.Ui_GlobalSettings,
'service.qubes-update-check'] = \
self.updates_dom0.isChecked()
self.qvm_collection.check_updates_vm = self.updates_vm.isChecked()
if self.qvm_collection.check_updates_vm != self.updates_vm.isChecked():
self.qvm_collection.check_updates_vm = self.updates_vm.isChecked()
def reject(self):
self.done(0)