1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Reorganize view menu entries and keep consistency

This commit is contained in:
glubsy
2020-07-31 16:57:18 +02:00
parent 86e1b55b02
commit a542168a0d
3 changed files with 16 additions and 9 deletions

View File

@@ -126,12 +126,10 @@ class TabWindow(QMainWindow):
continue
else:
menu.setEnabled(True)
for action in menu.actions():
if action not in active_widget.specific_actions:
if action in self.previous_widget_actions:
# action.setEnabled(False)
menu.removeAction(action)
action.setEnabled(False)
continue
action.setEnabled(True)