Skip to content
Snippets Groups Projects
Commit f47ef22f authored by hjk's avatar hjk
Browse files

Fixes: debugger: enable debugger view actions even if "locked"

parent 5ba98094
No related branches found
No related tags found
No related merge requests found
......@@ -490,9 +490,11 @@ void DebuggerManager::setSimpleDockWidgetArrangement()
m_mainWindow->tabifyDockWidget(m_watchDock, m_outputDock);
m_mainWindow->tabifyDockWidget(m_watchDock, m_registerDock);
m_mainWindow->tabifyDockWidget(m_watchDock, m_threadsDock);
m_mainWindow->tabifyDockWidget(m_watchDock, m_sourceFilesDock);
// They are rarely used even in ordinary debugging. Hiding them also saves
// cycles since the corresponding information won't be retrieved.
m_sourceFilesDock->hide();
m_registerDock->hide();
m_disassemblerDock->hide();
m_modulesDock->hide();
......@@ -515,6 +517,7 @@ void DebuggerManager::setLocked(bool locked)
}
dockWidget->setTitleBarWidget(titleBarWidget);
dockWidget->setFeatures(features);
dockWidget->toggleViewAction()->setEnabled(true);
}
}
......
......@@ -453,7 +453,7 @@ bool DebuggerPlugin::initialize(const QStringList &arguments, QString *error_mes
#endif
cmd = am->registerAction(m_manager->m_continueAction,
ProjectExplorer::Constants::DEBUG, QList<int>()<< m_gdbRunningContext);
ProjectExplorer::Constants::DEBUG, QList<int>() << m_gdbRunningContext);
cmd = am->registerAction(m_manager->m_stopAction,
Constants::INTERRUPT, globalcontext);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment