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

Disable expanding and collapsing of items by double-clicking

On double-clicking we show the certificate details dialog. Therefore,
double-clicking shouldn't expand or collapse items.

GnuPG-bug-id: 6055
parent e38b5551
......@@ -346,6 +346,8 @@ void KeyTreeView::init()
m_view->setSortingEnabled(true);
m_view->setAccessibleName(i18n("Certificates"));
m_view->setAccessibleDescription(m_isHierarchical ? i18n("Hierarchical list of certificates") : i18n("List of certificates"));
// we show details on double-click
m_view->setExpandsOnDoubleClick(false);
if (model()) {
if (m_additionalProxy) {
......
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