forked from qt-creator/qt-creator
Debugger: Select C++ debugger if there is nothing else selected
We want one-or-more debuggers enabled. This was accidentally not done if the python debugger was the last one to unselect. Change-Id: I1bcdb43a66dc110dc213eba0db079e6d02c00170 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -128,7 +128,7 @@ DebuggerRunConfigurationAspect::DebuggerRunConfigurationAspect(Target *target)
|
||||
if (Utils::allOf({&m_cppAspect, &m_qmlAspect, &m_pythonAspect}, &isDisabled))
|
||||
m_cppAspect.setValue(TriState::Default);
|
||||
});
|
||||
connect(&m_qmlAspect, &TriStateAspect::changed, this, [this] {
|
||||
connect(&m_pythonAspect, &TriStateAspect::changed, this, [this] {
|
||||
if (Utils::allOf({&m_cppAspect, &m_qmlAspect, &m_pythonAspect}, &isDisabled))
|
||||
m_cppAspect.setValue(TriState::Default);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user