Skip to content

Commit

Permalink
ENH: restored correct name for 'menu_item_control'
Browse files Browse the repository at this point in the history
  • Loading branch information
dmgav committed Mar 18, 2024
1 parent 477c18c commit f405a9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bluesky_widgets/apps/queue_monitor/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ def __init__(self, *, show=True, title="Demo App"):
self._window = Window(self._widget, show=show)

menu_bar = self._window._qt_window.menuBar()
menu_item_save = menu_bar.addMenu("Control Actions")
menu_item_control = menu_bar.addMenu("Control Actions")
self.action_activate_env_destroy = QAction("Activate 'Destroy Environment'", self._window._qt_window)
self.action_activate_env_destroy.setCheckable(True)
self._update_action_env_destroy_state()
self.action_activate_env_destroy.triggered.connect(self._activate_env_destroy_triggered)
menu_item_save.addAction(self.action_activate_env_destroy)
menu_item_control.addAction(self.action_activate_env_destroy)

menu_item_save = menu_bar.addMenu("Save and Backup")
self.action_save_history_as_txt = QAction("Save Plan History (as .txt)", self._window._qt_window)
Expand Down

0 comments on commit f405a9c

Please sign in to comment.