forked from qt-creator/qt-creator
Debugger: Fix DebuggerKitConfigWidget::onDebuggerRemoved() implementation
DebuggerKitConfigWidget::onDebuggerRemoved() is erroneously calling updateComboBox() with the id of the removed item, which resets debugger input for all other existing kits that are using valid exiting debuggers. Task-number: QTCREATORBUG-10484 Change-Id: Ib989fdccfc87386785c7ca95ded860499ac2b98c Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
429a26b3cd
commit
284fd9f109
@@ -174,7 +174,7 @@ void DebuggerKitConfigWidget::onDebuggerRemoved(const QVariant &id)
|
||||
{
|
||||
if (const int pos = indexOf(id)) {
|
||||
m_comboBox->removeItem(pos);
|
||||
updateComboBox(id);
|
||||
refresh();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user