mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-12 22:06:33 +00:00
Restored the "quit" retval as an alias for "cancel"
This commit is contained in:
parent
9a569df848
commit
2694c1d7a7
@ -497,7 +497,7 @@ twindow::tretval twindow::get_retval_by_id(const std::string& id)
|
||||
// of items.
|
||||
if(id == "ok") {
|
||||
return OK;
|
||||
} else if(id == "cancel") {
|
||||
} else if(id == "cancel" || id == "quit") {
|
||||
return CANCEL;
|
||||
} else {
|
||||
return NONE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user