Fixed trailing and bad whitespaces
Fixed trailing and bad whitespaces
This commit is contained in:
parent
91572eea2d
commit
2b24abb8c8
@ -425,8 +425,8 @@ class QubesFirewallRulesModel(QtCore.QAbstractItemModel):
|
|||||||
|
|
||||||
def data(self, index, role=QtCore.Qt.DisplayRole):
|
def data(self, index, role=QtCore.Qt.DisplayRole):
|
||||||
if index.isValid() and role == QtCore.Qt.DisplayRole:
|
if index.isValid() and role == QtCore.Qt.DisplayRole:
|
||||||
return self.get_column_string(index.column()
|
return self.get_column_string(index.column(),
|
||||||
,self.children[index.row()])
|
self.children[index.row()])
|
||||||
|
|
||||||
def headerData(self, section, orientation, role=QtCore.Qt.DisplayRole):
|
def headerData(self, section, orientation, role=QtCore.Qt.DisplayRole):
|
||||||
if section < len(self.__columnNames) \
|
if section < len(self.__columnNames) \
|
||||||
|
Loading…
Reference in New Issue
Block a user