From 53a7973f51b7e6976c4719074e122bc909267377 Mon Sep 17 00:00:00 2001 From: nils Date: Thu, 30 Sep 2010 23:20:05 +0000 Subject: 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 --- keylist.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'keylist.cpp') 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); } -- cgit v1.2.3