Commit 284fd9f1 authored by El Mehdi Fekari's avatar El Mehdi Fekari Committed by Tobias Hunger
Browse files

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: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 429a26b3
......@@ -174,7 +174,7 @@ void DebuggerKitConfigWidget::onDebuggerRemoved(const QVariant &id)
{
if (const int pos = indexOf(id)) {
m_comboBox->removeItem(pos);
updateComboBox(id);
refresh();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment