Commit a30d9bd8 authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

only refresh keys after signing if at least one key was signed

Otherwise all keys would have been reloaded when nothing was actually changed.
parent bd77e34e
......@@ -2024,7 +2024,8 @@ void KeysManager::signatureResult(int success)
if (++keyCount == signList.count()) {
signList.clear();
imodel->refreshKeys(refreshList);
if (!refreshList.isEmpty())
imodel->refreshKeys(refreshList);
refreshList.clear();
} else {
signLoop(localsign, checklevel);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment