Debugger UI: Removed debug language detection on mode change

It did more harm than good. Now, the auto detection is only done on
run control change - this is something that Creator could also remember.
This commit is contained in:
Lasse Holmstedt
2010-08-31 14:05:33 +02:00
parent 5ac7825856
commit 7607f2ffbe
2 changed files with 1 additions and 14 deletions

View File

@@ -498,6 +498,7 @@ void DebuggerRunControl::start()
return;
}
plugin()->activateDebugMode();
DebuggerUISwitcher::instance()->aboutToStartDebugger();
const QString message = tr("Starting debugger '%1' for tool chain '%2'...").
@@ -506,8 +507,6 @@ void DebuggerRunControl::start()
plugin()->showMessage(DebuggerSettings::instance()->dump(), LogDebug);
plugin()->runControlStarted(this);
plugin()->activateDebugMode();
engine()->startDebugger(this);
m_running = true;
emit addToOutputWindowInline(this, tr("Debugging starts"), false);