Skip to content

Commit

Permalink
[tools/shoestring]: fix back button messing up the display
Browse files Browse the repository at this point in the history
  • Loading branch information
gimre-xymcity committed Aug 15, 2023
1 parent 1a32708 commit 1a1cafb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/shoestring/shoestring/wizard/buttons.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,11 @@ def create_prev_clicked_handler(screens, activate_screen, title_bar, next_button

def handler():
if screens.has_previous:
print('has previous')
previous_screen = screens.previous()
title_bar.update_navigation(screens)

activate_screen(previous_screen)
else:
print('has NO previous')
title_bar.reset()

# restore handler in case it got replaced
Expand Down

0 comments on commit 1a1cafb

Please sign in to comment.