Restored the "quit" retval as an alias for "cancel"

This commit is contained in:
Charles Dang 2016-09-08 18:55:11 +11:00
parent 9a569df848
commit 2694c1d7a7

View file

@ -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;