Restored the "quit" retval as an alias for "cancel"
This commit is contained in:
parent
9a569df848
commit
2694c1d7a7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue