From acd67733a5636b9db5aca6ecc5de226791e71ab3 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Sat, 15 Jun 2019 12:08:29 +0100 Subject: [PATCH] sort the downloads table on updates --- gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy b/gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy index 068e4f3f..b1e08673 100644 --- a/gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy +++ b/gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy @@ -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")