From 631e2ea3e4167620a9d7a8ef29c4587276319740 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 3 May 2019 09:14:01 +0200 Subject: [PATCH] Force double-click activation for breakpoints view Since it also is used much for managing the breakpoints, i.e. selecting and deleting with the delete key, and then single-click activation is annoying since it moves the focus to the editor. Change-Id: Ic05ec525f146e2363c4984095b9792973caa1ac6 Reviewed-by: hjk --- src/plugins/debugger/debuggerplugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 419944851b5..322a87277ca 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -1036,6 +1036,7 @@ bool DebuggerPluginPrivate::initialize(const QStringList &arguments, }; m_breakpointManagerView = new BaseTreeView; + m_breakpointManagerView->setActivationMode(Utils::DoubleClickActivation); m_breakpointManagerView->setIconSize(QSize(10, 10)); m_breakpointManagerView->setWindowIcon(Icons::BREAKPOINTS.icon()); m_breakpointManagerView->setSelectionMode(QAbstractItemView::ExtendedSelection);