Fix empty lines

This commit is contained in:
donoban 2020-11-14 16:12:11 +01:00
parent 1b5442aece
commit 409bcd27fc
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5

View File

@ -475,6 +475,7 @@ class QubesTableModel(QAbstractTableModel):
def setData(self, index, value, role=Qt.EditRole):
if not index.isValid():
return False
if role == Qt.CheckStateRole:
col_name = self.columns_indices[index.column()]
if col_name == "Include in backups":
@ -491,7 +492,6 @@ class QubesTableModel(QAbstractTableModel):
col_name = self.columns_indices[index.column()]
if col_name == "Include in backups":
return Qt.ItemIsEnabled | Qt.ItemIsUserCheckable
return QAbstractTableModel.flags(self, index)
vm_shutdown_timeout = 20000 # in msec