Skip to content

Commit

Permalink
Merge pull request #209 from dlyongemallo/style_disabled_menu_items
Browse files Browse the repository at this point in the history
Style disabled menu items to be more visually obvious.
  • Loading branch information
jvdwetering authored Dec 11, 2023
2 parents c391e5f + d3a7434 commit b882a07
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 b882a07

Please sign in to comment.