Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3114 orientation viewer doesnt clear itself on wayland #3115

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/sas/qtgui/MainWindow/GuiManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,8 +715,12 @@ def addTriggers(self):
self._workspace.actionStartup_Settings.setVisible(False)
#self._workspace.actionImage_Viewer.setVisible(False)
self._workspace.actionCombine_Batch_Fit.setVisible(False)
# orientation viewer set to invisible SASVIEW-1132
self._workspace.actionOrientation_Viewer.setVisible(True)

# Show orientation viewer menu item only if not running Linux/Wayland
if "XDG_SESSION_TYPE" in os.environ and os.environ["XDG_SESSION_TYPE"] == "wayland":
self._workspace.actionOrientation_Viewer.setVisible(False)
else:
self._workspace.actionOrientation_Viewer.setVisible(True)

# File
self._workspace.actionLoadData.triggered.connect(self.actionLoadData)
Expand Down
Loading