Skip to content

Commit

Permalink
Revert "Simple Item Selector: disable Esc canceling if single button …
Browse files Browse the repository at this point in the history
…mode is enabled"

This reverts commit bd47e75.
  • Loading branch information
Vultraz committed Feb 23, 2017
1 parent bd47e75 commit 789fcb6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gui/dialogs/simple_item_selector.cpp
Expand Up @@ -115,9 +115,6 @@ void simple_item_selector::pre_show(window& window)

if(single_button_) {
button_cancel.set_visible(gui2::widget::visibility::invisible);

// Since the purpose of this is to prevent canceling, we should also disable Esc
window.set_escape_disabled(true);
}
}

Expand Down

0 comments on commit 789fcb6

Please sign in to comment.