[BUG] Quirk in saving webclient layout
Describe the bug
It's visibly possible to circumvent the block against saving the default webclient layout. It doesn't actually work, but it's confusing.
To Reproduce
In webclient, open options:
- Start to edit the
defaultlayout name by adding more letters to its name, likedefault1234232 - The
Close Options and Savebutton becomes active - Without saving, erase the extra letters, down to
default - The
Close Options and Savebuttons remains active and you can now save your modified layout as 'default'
The save does not actually happen (so this is correct), as loading default returns the 'real' default layout.
Expected behavior
The default button should remain greyed out whenever it's about to save something named default. While the above behavior is apparently benign in the sense that the default layout is not actually saved, it nevertheless confuses the user.
Environment, Evennia version, OS etc
Evennia master branch.
Afaik this is still an issue.
#3282 is merged and closes this issue I believe. Currently unable to reproduce. @Griatch