Commit dfcf8705 authored by dt's avatar dt
Browse files

Don't crash on adding a runconfiguration

The combobox now emits a currentIndexChanged(-1) signal if we reset the
base model.
Reviewed-by: default avatarcon <>
parent a6d099a1
......@@ -295,6 +295,11 @@ void RunSettingsWidget::initRunConfigurationComboBox()
void RunSettingsWidget::showRunConfigurationWidget(int index)
if (index == -1) {
delete m_runConfigurationWidget;
m_runConfigurationWidget = 0;
QSharedPointer<RunConfiguration> selectedRunConfiguration =
Supports Markdown
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