Couple fixes

This commit is contained in:
nordsoft
2023-09-30 04:33:41 +02:00
parent 3018178956
commit cb02e221f3
2 changed files with 15 additions and 4 deletions
+5
View File
@@ -90,6 +90,11 @@ void WindowNewMap::loadUserSettings()
{
ui->heightTxt->setText(height.toString());
}
for(auto & sz : mapSizes)
{
if(sz.second.first == width.toInt() && sz.second.second == height.toInt())
ui->sizeCombo->setCurrentIndex(sz.first);
}
auto twoLevel = s.value(newMapTwoLevel);
if (twoLevel.isValid())
{