We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74d5d01 commit cd72eebCopy full SHA for cd72eeb
1 file changed
psyplot_gui/common.py
@@ -117,7 +117,7 @@ def create_central_widget_action(self, main):
117
if self._set_central_action is None:
118
menu = main.central_widgets_menu
119
group = main.central_widgets_actions
120
- self._set_central_action = action = QAction(self.title)
+ self._set_central_action = action = QAction(self.title, main)
121
action.setCheckable(True)
122
action.triggered.connect(partial(main.set_central_widget, self))
123
menu.addAction(action)
0 commit comments