aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2008-09-26 00:42:19 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2008-09-26 00:42:19 +0000
commitc6cdb3b1fa29c7b3e7ddd8c84df5a868674349f8 (patch)
tree5c72d294648207ee7bb90f5f85e6976d568b9bc0
parentchanged names of functions deletekey and deletekeys to deleteSelectedKeys and... (diff)
downloadgpg4usb-c6cdb3b1fa29c7b3e7ddd8c84df5a868674349f8.tar.gz
gpg4usb-c6cdb3b1fa29c7b3e7ddd8c84df5a868674349f8.zip
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
-rw-r--r--keylist.cpp2
1 files changed, 2 insertions, 0 deletions
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;