diff options
author | Eike Ziller <eike.ziller@qt.io> | 2019-05-03 09:14:01 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2019-05-03 09:41:41 +0000 |
commit | 631e2ea3e4167620a9d7a8ef29c4587276319740 (patch) | |
tree | a82a5ee6a38ab48e789d3f47df3614f30304c925 | |
parent | bc51772c1d5b7f19132e2a126cb7526dea639b31 (diff) |
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 <hjk@qt.io>
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 419944851b..322a87277c 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); |