Commit 60498cda authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Change selection mode to single selection

There is nothing one can do to multiple selected certifications and/or
user IDs. Double click and the context menu actions apply to the current
row only. So we better do not give a false impression by allowing the
users to select multiple rows.

GnuPG-bug-id: 6102
parent 10119dd6
......@@ -55,7 +55,7 @@ public:
certificationsTV->setAccessibleName(i18n("User IDs and certifications"));
certificationsTV->setModel(&certificationsModel);
certificationsTV->setAllColumnsShowFocus(false);
certificationsTV->setSelectionMode(QAbstractItemView::ExtendedSelection);
certificationsTV->setSelectionMode(QAbstractItemView::SingleSelection);
if (!Tags::tagsEnabled()) {
certificationsTV->hideColumn(static_cast<int>(UserIDListModel::Column::Tags));
}
......
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