Commits

Martin Rieser committed b303a55

magic number replaced

  • Participants
  • Parent commits 54c11dc

Comments (0)

Files changed (1)

File hgcr-gui-qt.py

                 self._qui.list_of_files.setRowHeight(row, 18)
 
         
-        #order table by file name (colum = 5)
-        self._qui.list_of_files.sortItems(5,Qt.AscendingOrder)
+        #order table by file name 
+        self._qui.list_of_files.sortItems(self.FM_PATH,Qt.AscendingOrder)
         self._qui.list_of_files.setSortingEnabled(True)
         self.relMembersLoaded = True
         self.onTableSelection()