sort the downloads table on updates

pull/5/head
Zlatin Balevsky 2019-06-15 12:08:29 +01:00
parent 8d3ce7aa8e
commit acd67733a5
1 changed files with 1 additions and 0 deletions

View File

@ -299,6 +299,7 @@ class MainFrameView {
downloadsTable.setDefaultRenderer(Integer.class, centerRenderer)
downloadsTable.rowSorter.addRowSorterListener({evt -> lastDownloadSortEvent = evt})
downloadsTable.rowSorter.setSortsOnUpdates(true)
// shared files table
def sharedFilesTable = builder.getVariable("shared-files-table")