Skip to content

Commit

Permalink
Style disabled menu items to be more visually obvious.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlyongemallo committed Dec 10, 2023
1 parent c391e5f commit d3a7434
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zxlive/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ def __init__(self) -> None:
rewrite_menu.addAction(new_rewrite_from_file)
rewrite_menu.addAction(self.proof_as_rewrite_action)

menu.setStyleSheet("QMenu::item:disabled { color: gray }")
self._reset_menus(False)

def open_demo_graph(self) -> None:
Expand Down

0 comments on commit d3a7434

Please sign in to comment.