Skip to content

Commit

Permalink
Pressing back in patch view goes to button bar
Browse files Browse the repository at this point in the history
  • Loading branch information
danngreen committed Sep 19, 2024
1 parent 3b56975 commit da9bf1e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions firmware/src/gui/pages/patch_view.hh
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ struct PatchViewPage : PageBase {
} else if (gui_state.new_cable) {
abort_cable(gui_state, notify_queue);

} else if (highlighted_module_id.has_value() && highlighted_module_obj != nullptr) {
lv_group_focus_obj(ui_PlayButton);

} else {
page_list.request_new_page_no_history(PageId::MainMenu, args);
blur();
Expand Down

0 comments on commit da9bf1e

Please sign in to comment.