Commit fa2a91a8 authored by Kai Koehne's avatar Kai Koehne
Browse files

Debugger: "Reset to default layout" resets both QML and QML/CPP layout

Change-Id: Ia2d0de65d772826697ec51e6f82dc0e3fe36e05b
Reviewed-by: default avatarhjk <>
parent f86b05f5
......@@ -573,13 +573,14 @@ void DebuggerMainWindow::readSettings()
void DebuggerMainWindowPrivate::resetDebuggerLayout()
m_activeDebugLanguages = DebuggerLanguage(QmlLanguage | CppLanguage);
m_dockWidgetActiveStateQmlCpp = q->saveSettings();
if (isQmlActive())
m_dockWidgetActiveStateQmlCpp = q->saveSettings();
m_dockWidgetActiveStateCpp = q->saveSettings();
m_activeDebugLanguages = CppLanguage;
m_previousDebugLanguages = CppLanguage;
// will save state in m_dockWidgetActiveStateCpp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment