Change a few tooltip labels and remove focus mode checkbox in menu

This commit is contained in:
Veronica Berglyd Olsen
2022-10-14 21:45:58 +02:00
parent 6f257d9b27
commit 64c07e8910
4 changed files with 7 additions and 17 deletions
-2
View File
@@ -1213,11 +1213,9 @@ class GuiMain(QMainWindow):
"""
if self.docEditor.docHandle() is None:
logger.error("No document open, so not activating Focus Mode")
self.mainMenu.setFocusMode(self.isFocusMode)
return False
self.isFocusMode = not self.isFocusMode
self.mainMenu.setFocusMode(self.isFocusMode)
if self.isFocusMode:
logger.debug("Activating Focus Mode")
self.switchFocus(nwWidget.EDITOR)