diff --git a/qubesmanager/qube_manager.py b/qubesmanager/qube_manager.py index 967fcae..8d7ec92 100644 --- a/qubesmanager/qube_manager.py +++ b/qubesmanager/qube_manager.py @@ -480,8 +480,8 @@ class QubesTableModel(QAbstractTableModel): col_name = self.columns_indices[index.column()] if col_name == "Backup": vm = self.qubes_cache.get_vm(index.row()) - vm.vm.include_in_backups = (value == 2) - vm.inc_backup = (value == 2) + vm.vm.include_in_backups = (value == Qt.Checked) + vm.inc_backup = (value == Qt.Checked) return True return False