Skip to content

Commit

Permalink
Update active screen upon entry
Browse files Browse the repository at this point in the history
  • Loading branch information
SamHaggans committed May 3, 2022
1 parent 6b31569 commit 9f4b44b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/GUI/maze_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def set_active_screen(self, screen_name):
self.active_widget.setParent(None)
self.active_widget = self.screens[screen_name]
self.active_widget_name = screen_name
self.active_widget.update()

self.layout.addWidget(self.active_widget)

Expand Down

0 comments on commit 9f4b44b

Please sign in to comment.