From c6cdb3b1fa29c7b3e7ddd8c84df5a868674349f8 Mon Sep 17 00:00:00 2001 From: ubbo Date: Fri, 26 Sep 2008 00:42:19 +0000 Subject: fix bug in keylist.cpp, that could couse crashing after refresh git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@173 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- keylist.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/keylist.cpp b/keylist.cpp index 9ebcbee..f54f1e9 100644 --- a/keylist.cpp +++ b/keylist.cpp @@ -71,6 +71,8 @@ void KeyList::contextMenuEvent(QContextMenuEvent *event) void KeyList::refresh() { + // while filling the table, sort enabled causes errors + m_keyList->setSortingEnabled(false); m_keyList->clear(); QStringList labels; -- cgit v1.2.3