From 107a2e4a5cbb125a52e1d83a4a8dfdac7551bff4 Mon Sep 17 00:00:00 2001 From: Florian Geyer Date: Sat, 3 Nov 2012 18:57:31 +0100 Subject: [PATCH] Fix sort order when closing the search and an entry was moved. --- src/gui/entry/EntryView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/entry/EntryView.cpp b/src/gui/entry/EntryView.cpp index cf0e0335..5cad63de 100644 --- a/src/gui/entry/EntryView.cpp +++ b/src/gui/entry/EntryView.cpp @@ -117,6 +117,7 @@ void EntryView::switchToEntryListMode() void EntryView::switchToGroupMode() { m_sortModel->hideColumn(0, true); + sortByColumn(-1, Qt::AscendingOrder); sortByColumn(0, Qt::AscendingOrder); m_inEntryListMode = false; }