forked from qt-creator/qt-creator
Debugger: Prohibit multi selection on debugger presets
To avoid confusion regarding context menu items limit the selection mode to single selection. Change-Id: I220d97fee65180a497f21e5921f832076235acb5 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -870,6 +870,7 @@ DebuggerPluginPrivate::DebuggerPluginPrivate(const QStringList &arguments)
|
||||
engineManagerView->setSettings(ICore::settings(), "Debugger.SnapshotView");
|
||||
engineManagerView->setIconSize(QSize(10, 10));
|
||||
engineManagerView->setModel(m_engineManager.model());
|
||||
engineManagerView->setSelectionMode(QAbstractItemView::SingleSelection);
|
||||
|
||||
auto engineManagerWindow = addSearch(engineManagerView);
|
||||
engineManagerWindow->setWindowTitle(tr("Debugger Perspectives"));
|
||||
|
Reference in New Issue
Block a user