1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

make Display Index combobox empty by default

This commit is contained in:
Andrey Filipenkov 2022-09-26 16:44:02 +03:00
parent cfba8a5373
commit 36cbb2f605
2 changed files with 1 additions and 8 deletions

View File

@ -57,7 +57,6 @@ void CSettingsView::setDisplayList()
else
{
int displayIndex = settings["video"]["displayIndex"].Integer();
ui->comboBoxDisplayIndex->clear();
ui->comboBoxDisplayIndex->addItems(list);
ui->comboBoxDisplayIndex->setCurrentIndex(displayIndex);
}

View File

@ -417,13 +417,7 @@
</widget>
</item>
<item row="4" column="4">
<widget class="QComboBox" name="comboBoxDisplayIndex">
<item>
<property name="text">
<string>0</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="comboBoxDisplayIndex"/>
</item>
<item row="7" column="1" colspan="4">
<spacer name="spacerSections">