Commit 01f48a6b authored by Nils Cedric Holle's avatar Nils Cedric Holle

Disable corner toolbar actions by default

parent dcfe7665
......@@ -908,6 +908,10 @@ class PSMainWindow(QMainWindow):
self.__puzzleViewAction = self.cornerToolBar.addAction("")
self.__dataViewAction = self.cornerToolBar.addAction("")
self.__plotViewAction = self.cornerToolBar.addAction("")
for a in [self.__puzzleViewAction, self.__dataViewAction,
self.__plotViewAction]:
a.setEnabled(False)
self.__puzzleViewAction.triggered.connect(
lambda: self.changeRightWidgetMode("puzzle"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment