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:
El Mehdi Fekari
2013-11-26 13:31:01 +01:00
committed by Tobias Hunger
parent 429a26b3cd
commit 284fd9f109

View File

@@ -174,7 +174,7 @@ void DebuggerKitConfigWidget::onDebuggerRemoved(const QVariant &id)
{
if (const int pos = indexOf(id)) {
m_comboBox->removeItem(pos);
updateComboBox(id);
refresh();
}
}