Skip to content

Commit

Permalink
hide in tutorial mode the creation of images
Browse files Browse the repository at this point in the history
  • Loading branch information
ReimarBauer committed Nov 15, 2023
1 parent 15bf085 commit 6b1dcd9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mslib/msui/msui_mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,10 @@ def show_shortcuts(self, search_mode=False):
self.shortcuts_dlg.setParent(QtWidgets.QApplication.activeWindow(), QtCore.Qt.Dialog)
self.shortcuts_dlg.reset_highlight()
self.shortcuts_dlg.fill_list()
self.shortcuts_dlg.show()
if self.tutorial_mode:
self.shortcuts_dlg.hide()
else:
self.shortcuts_dlg.show()

self.shortcuts_dlg.cbAdvanced.setHidden(True)
self.shortcuts_dlg.cbHighlight.setHidden(True)
Expand Down

0 comments on commit 6b1dcd9

Please sign in to comment.