Fix empty lines
This commit is contained in:
parent
1b5442aece
commit
409bcd27fc
@ -475,6 +475,7 @@ class QubesTableModel(QAbstractTableModel):
|
|||||||
def setData(self, index, value, role=Qt.EditRole):
|
def setData(self, index, value, role=Qt.EditRole):
|
||||||
if not index.isValid():
|
if not index.isValid():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if role == Qt.CheckStateRole:
|
if role == Qt.CheckStateRole:
|
||||||
col_name = self.columns_indices[index.column()]
|
col_name = self.columns_indices[index.column()]
|
||||||
if col_name == "Include in backups":
|
if col_name == "Include in backups":
|
||||||
@ -491,7 +492,6 @@ class QubesTableModel(QAbstractTableModel):
|
|||||||
col_name = self.columns_indices[index.column()]
|
col_name = self.columns_indices[index.column()]
|
||||||
if col_name == "Include in backups":
|
if col_name == "Include in backups":
|
||||||
return Qt.ItemIsEnabled | Qt.ItemIsUserCheckable
|
return Qt.ItemIsEnabled | Qt.ItemIsUserCheckable
|
||||||
|
|
||||||
return QAbstractTableModel.flags(self, index)
|
return QAbstractTableModel.flags(self, index)
|
||||||
|
|
||||||
vm_shutdown_timeout = 20000 # in msec
|
vm_shutdown_timeout = 20000 # in msec
|
||||||
|
Loading…
Reference in New Issue
Block a user