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

set save name by default

This commit is contained in:
Laserlicht 2024-04-16 21:21:20 +02:00 committed by GitHub
parent 9390825ee7
commit b74c1818c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -677,6 +677,9 @@ void SelectionTab::selectFileName(std::string fname)
filter(-1);
selectAbs(-1);
if(inputName->getText().empty())
inputName->setText("NEWGAME");
}
std::shared_ptr<ElementInfo> SelectionTab::getSelectedMapInfo() const