Skip to content

Commit

Permalink
fix(gui): remember current menu on change
Browse files Browse the repository at this point in the history
  • Loading branch information
Siroshun09 committed Apr 11, 2024
1 parent ba2b669 commit f88a5de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private void processClickResult(@NotNull Button button, @NotNull ClickResult cli
} else if (clickResult == ClickResult.BACK_MENU) {
MenuOpener.open(MenuHistoryHolder.getFromSession(this.session).backMenu(), this.session);
} else if (clickResult instanceof ClickResult.ChangeMenu changeMenu) {
MenuHistoryHolder.getFromSession(this.session).rememberMenu(changeMenu.menu());
MenuHistoryHolder.getFromSession(this.session).rememberMenu(this.menu);
MenuOpener.open(changeMenu.menu(), this.session);
}
this.finishClickProcess();
Expand Down

0 comments on commit f88a5de

Please sign in to comment.