Skip to content
Snippets Groups Projects
Commit 69f61721 authored by inso's avatar inso
Browse files

Fix bug #238

parent 6adc8e46
No related branches found
No related tags found
No related merge requests found
...@@ -35,8 +35,9 @@ class NetworkFilterProxyModel(QSortFilterProxyModel): ...@@ -35,8 +35,9 @@ class NetworkFilterProxyModel(QSortFilterProxyModel):
""" """
Sort table by given column number. Sort table by given column number.
""" """
left_data = self.sourceModel().data(left, Qt.DisplayRole) left_data = str(self.sourceModel().data(left, Qt.DisplayRole))
right_data = self.sourceModel().data(right, Qt.DisplayRole) right_data = str(self.sourceModel().data(right, Qt.DisplayRole))
return (left_data < right_data) return (left_data < right_data)
def headerData(self, section, orientation, role): def headerData(self, section, orientation, role):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment