mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 15:15:31 +00:00
Savegame dialog: Don't allow empty save names
This commit is contained in:
parent
63284d21a0
commit
6d37cd7e86
1 changed files with 5 additions and 0 deletions
|
@ -132,6 +132,11 @@ namespace MWGui
|
|||
|
||||
if (mSaving)
|
||||
{
|
||||
if (mSaveNameEdit->getCaption().empty())
|
||||
{
|
||||
MWBase::Environment::get().getWindowManager()->messageBox("#{sNotifyMessage65}");
|
||||
return;
|
||||
}
|
||||
MWBase::Environment::get().getStateManager()->saveGame (mSaveNameEdit->getCaption(), slot);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue