Skip to content

Commit

Permalink
Restored the "quit" retval as an alias for "cancel"
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Sep 8, 2016
1 parent 9a569df commit 2694c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/widgets/window.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 2694c1d

Please sign in to comment.