diff options
| author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-08-02 02:43:21 +0200 |
|---|---|---|
| committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-08-02 02:43:21 +0200 |
| commit | 54f9d1f4d3ab003f4d658aeb64b482b212ab7041 (patch) | |
| tree | fb830a416d3684b225ddacc68e537c86705bdea7 /keymgmt.cpp | |
| parent | changed bool iscompletlysigned to int issigned and added setverifylabel to ve... (diff) | |
| download | gpg4usb-54f9d1f4d3ab003f4d658aeb64b482b212ab7041.tar.gz gpg4usb-54f9d1f4d3ab003f4d658aeb64b482b212ab7041.zip | |
added information to verifylabel and functionalitiy to import missing keys. Dont show a delete dialog, if no key is checked
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@506 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'keymgmt.cpp')
| -rwxr-xr-x | keymgmt.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/keymgmt.cpp b/keymgmt.cpp index c3ed7bf..ff7d4fc 100755 --- a/keymgmt.cpp +++ b/keymgmt.cpp @@ -180,6 +180,9 @@ void KeyMgmt::deleteKeysWithWarning(QStringList *uidList) * more than one selected... compare to seahorse "delete-dialog" */ + if (uidList->isEmpty()) { + return; + } QString keynames; foreach (QString uid, *uidList) { keynames.append(mCtx->getKeyDetails(uid)->uids->name); |
