forked from qt-creator/qt-creator
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:
@@ -319,18 +319,6 @@ void DebuggerUISwitcher::modeChanged(Core::IMode *mode)
|
||||
//|| DebuggerPlugin::instance()->hasSnapsnots())
|
||||
return;
|
||||
|
||||
DebuggerLanguages activeLangs;
|
||||
if (isCurrentProjectCppBased())
|
||||
activeLangs |= CppLanguage;
|
||||
|
||||
if (isCurrentProjectQmlCppBased())
|
||||
activeLangs |= QmlLanguage;
|
||||
|
||||
if (d->m_activateCppAction)
|
||||
d->m_activateCppAction->setChecked(activeLangs & CppLanguage);
|
||||
if (d->m_activateQmlAction)
|
||||
d->m_activateQmlAction->setChecked(activeLangs & QmlLanguage);
|
||||
|
||||
updateActiveLanguages();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user