forked from qt-creator/qt-creator
Debugger: Fix some perspective selection issue
Previously: - start combined debugging, stop anywhere - switch to QML debugger sub-perspective - switch to any other analyzer main perspective - switch back to debugger main perspective -> QML debugger was selected in the sub-perspective chooser combobox, but the visible views were the ones of the the C++ debugger. With this patch, the visible views match the selected QML debugger. Change-Id: I20e4bd6c07acb5e55c02f0a0ef042986f2e3f1f4 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -554,7 +554,7 @@ void DebuggerEnginePrivate::setupViews()
|
||||
|
||||
QTC_CHECK(!m_perspective);
|
||||
|
||||
m_perspective = new Perspective("Debugger.Perspective." + m_runId,
|
||||
m_perspective = new Perspective("Debugger.Perspective." + m_runId + '.' + m_debuggerName,
|
||||
m_engine->displayName(),
|
||||
Debugger::Constants::PRESET_PERSPECTIVE_ID,
|
||||
m_debuggerName);
|
||||
|
||||
Reference in New Issue
Block a user