Update novelwriter/guimain.py

Co-authored-by: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
This commit is contained in:
Reproog
2025-10-28 16:14:30 +01:00
committed by GitHub
parent df77fb67c6
commit ad34d45d0b
+1 -5
View File
@@ -832,11 +832,7 @@ class GuiMain(QMainWindow):
SHARED.error(self.tr("Could not initialise the dialog."))
return
# Update the spell check languages menu when the dialog is closed
def onDialogFinished():
self.mainMenu.updateSpellCheckLanguages()
dialog.finished.connect(onDialogFinished)
dialog.finished.connect(self.mainMenu.updateSpellCheckLanguages)
##
# Main Window Actions