forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user