Commit 101ca271 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Disallow export of multiple certificate groups

Do not allow the export of multiple certificate groups until the export
into individual files is implement.

GnuPG-bug-id: 5638
parent 0e0497ff
Pipeline #98728 passed with stage
in 14 minutes and 47 seconds
......@@ -205,7 +205,7 @@ private:
[](const auto &g) { return !g.isNull() && !g.isImmutable(); });
ui.editButton->setEnabled(selectedGroups.size() == 1 && allSelectedGroupsAreEditable);
ui.deleteButton->setEnabled(!selectedGroups.empty() && allSelectedGroupsAreEditable);
ui.exportButton->setEnabled(!selectedGroups.empty());
ui.exportButton->setEnabled(selectedGroups.size() == 1);
}
KeyGroup showEditGroupDialog(KeyGroup group, const QString &windowTitle, EditGroupDialog::FocusWidget focusWidget)
......
Markdown is supported
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