Commit 599b2438 authored by hjk's avatar hjk

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

parent fcd74e54
......@@ -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);
......
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