mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
Couple fixes
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user