mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
set save name by default
This commit is contained in:
parent
9390825ee7
commit
b74c1818c4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user