Commit 33bae0d7 authored by Friedemann Kleint's avatar Friedemann Kleint

Debugger: Suppress fetching of modules/registers in invalid states.

Reviewed-by: hjk
parent e2ec9b03
......@@ -905,19 +905,19 @@ public slots:
void sourceFilesDockToggled(bool on)
{
if (on)
if (on && m_currentEngine->state() == InferiorStopOk)
m_currentEngine->reloadSourceFiles();
}
void modulesDockToggled(bool on)
{
if (on)
if (on && m_currentEngine->state() == InferiorStopOk)
m_currentEngine->reloadModules();
}
void registerDockToggled(bool on)
{
if (on)
if (on && m_currentEngine->state() == InferiorStopOk)
m_currentEngine->reloadRegisters();
}
......
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