mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
fix error with custom campaign
This commit is contained in:
parent
70fad45316
commit
1f850b8e4e
@ -678,7 +678,7 @@ void SelectionTab::selectFileName(std::string fname)
|
||||
filter(-1);
|
||||
selectAbs(-1);
|
||||
|
||||
if(inputName->getText().empty())
|
||||
if(tabType == ESelectionScreen::saveGame && inputName->getText().empty())
|
||||
inputName->setText("NEWGAME");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user