aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-03-15 11:22:00 +0100
committerhjk <hjk@qt.io>2019-03-18 07:08:35 +0000
commit0dbdc520a4f8e318de8f070f4039c9f1a0082041 (patch)
treed30588c493af694936a52feb79f32921dcb77173
parentb29296e9e0265b9b9d6d0b17fa2b91408943a967 (diff)
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>
-rw-r--r--src/plugins/debugger/debuggerengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp
index 7399c99b7f..5f89c07875 100644
--- a/src/plugins/debugger/debuggerengine.cpp
+++ b/src/plugins/debugger/debuggerengine.cpp
@@ -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);