diff options
Diffstat (limited to 'keylist.cpp')
-rw-r--r-- | keylist.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/keylist.cpp b/keylist.cpp index b26bd78..92481b8 100644 --- a/keylist.cpp +++ b/keylist.cpp @@ -63,6 +63,8 @@ KeyList::KeyList(GpgME::Context *ctx, QString iconpath, QWidget *parent) void KeyList::refresh() { + QStringList *keyList; + keyList = getChecked(); // while filling the table, sort enabled causes errors mKeyList->setSortingEnabled(false); mKeyList->clearContents(); @@ -95,6 +97,7 @@ void KeyList::refresh() ++row; } mKeyList->setSortingEnabled(true); + setChecked(keyList); } |