Skip to content

Commit

Permalink
default exit
Browse files Browse the repository at this point in the history
  • Loading branch information
profezzorn committed Mar 18, 2024
1 parent 4c3e064 commit 24d02db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modes/select_cancel_mode.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace mode {

struct SelectCancelMode : public ModeInterface {
virtual void select() = 0;
virtual void exit() = 0;
virtual void exit() { popMode(); }

bool mode_Event2(enum BUTTON button, EVENT event, uint32_t modifiers) override {
switch (EVENTID(button, event, 0)) {
Expand Down

0 comments on commit 24d02db

Please sign in to comment.