From 4516abb9163433c9ab8d2da22353beaf005baa49 Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Tue, 22 Nov 2016 17:14:02 +0500 Subject: [PATCH] go-gtk fixed default sorting, so unlock it for all OSes. --- ui/mainwindow_init.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ui/mainwindow_init.go b/ui/mainwindow_init.go index 401bcf7..711d2ad 100644 --- a/ui/mainwindow_init.go +++ b/ui/mainwindow_init.go @@ -439,12 +439,7 @@ func (m *MainWindow) InitializeTabs() { // Sorting. // By default we are sorting by server name. - // ToDo: remembering it to configuration storage. - // For some reason this cause panic on Windows, so disabling - // default sorting here. - if runtime.GOOS != "windows" { - m.all_servers_store_sortable.SetSortColumnId(m.column_pos["Servers"]["Name"], gtk.SORT_ASCENDING) - } + m.all_servers_store_sortable.SetSortColumnId(m.column_pos["Servers"]["Name"], gtk.SORT_ASCENDING) // Sorting functions. // Race conditions and GC crazyness appears when activated, so for