diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-09-30 23:20:05 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-09-30 23:20:05 +0000 |
commit | 53a7973f51b7e6976c4719074e122bc909267377 (patch) | |
tree | 1bd02032a0a6853cac17eb5ad2eb550f531816a4 /keylist.cpp | |
parent | nearly added icon for attachments in statusbar (diff) | |
download | gpg4usb-53a7973f51b7e6976c4719074e122bc909267377.tar.gz gpg4usb-53a7973f51b7e6976c4719074e122bc909267377.zip |
now checked keys in the mainwindow's keylist are also checked in the fileencryption dialog's keylist
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@380 34ebc366-c3a9-4b3c-9f84-69acf7962910
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); } |