Skip to content

Commit

Permalink
#93
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Oct 26, 2020
1 parent 79e310f commit 514b50e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/eez/action_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,16 @@ void onSetUserSwitchAction(uint16_t value) {
}

void action_select_user_switch_action() {
if (getActivePageId() == PAGE_ID_STAND_BY_MENU) {
if (
getActivePageId() == PAGE_ID_STAND_BY_MENU ||
getActivePageId() == PAGE_ID_SHUTDOWN ||
getActivePageId() == PAGE_ID_ENTERING_STANDBY ||
getActivePageId() == PAGE_ID_STANDBY ||
getActivePageId() == PAGE_ID_SAVING ||
getActivePageId() == PAGE_ID_DISPLAY_OFF ||
getActivePageId() == PAGE_ID_WELCOME

) {
return;
}

Expand Down

0 comments on commit 514b50e

Please sign in to comment.