Skip to content

Commit

Permalink
Revert "cs_themes: Don't mess with the stack switcher's sensitivity."
Browse files Browse the repository at this point in the history
This reverts commit da63f90, as it
left non-visible buttons sensitive.

79be988 addresses this.
  • Loading branch information
mtwebster committed Aug 12, 2024
1 parent 79be988 commit c7eedb1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +547,10 @@ def set_mode(self, mode, startup=False):

if mode == "simplified":
switcher_widget.set_opacity(0.0)
switcher_widget.set_sensitive(False)
else:
switcher_widget.set_opacity(1.0)
switcher_widget.set_sensitive(True)

self.sidePage.stack.set_visible_child_full(mode, transition)

Expand Down

0 comments on commit c7eedb1

Please sign in to comment.