From 0dbdc520a4f8e318de8f070f4039c9f1a0082041 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 15 Mar 2019 11:22:00 +0100 Subject: [PATCH] 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 --- src/plugins/debugger/debuggerengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp index 7399c99b7f9..5f89c07875e 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);