mirror of https://github.com/borgbase/vorta
This enables column sorting for the table on the archive list page. However, all columns are sorted by lexical string order. For example, this means that archives with "52 MB" are ranked greater than "332 MB". Completes: https://github.com/borgbase/vorta/issues/349
This commit is contained in:
parent
6c69f3689e
commit
47739b9663
|
@ -59,6 +59,7 @@ class ArchiveTab(ArchiveTabBase, ArchiveTabUI, BackupProfileMixin):
|
||||||
self.archiveTable.setAlternatingRowColors(True)
|
self.archiveTable.setAlternatingRowColors(True)
|
||||||
self.archiveTable.cellDoubleClicked.connect(self.cell_double_clicked)
|
self.archiveTable.cellDoubleClicked.connect(self.cell_double_clicked)
|
||||||
self.archiveTable.itemSelectionChanged.connect(self.update_mount_button_text)
|
self.archiveTable.itemSelectionChanged.connect(self.update_mount_button_text)
|
||||||
|
self.archiveTable.setSortingEnabled(True)
|
||||||
|
|
||||||
self.mountButton.clicked.connect(self.mount_action)
|
self.mountButton.clicked.connect(self.mount_action)
|
||||||
self.listButton.clicked.connect(self.list_action)
|
self.listButton.clicked.connect(self.list_action)
|
||||||
|
|
Loading…
Reference in New Issue