Update novelwriter/guimain.py
Co-authored-by: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
This commit is contained in:
@@ -832,11 +832,7 @@ class GuiMain(QMainWindow):
|
|||||||
SHARED.error(self.tr("Could not initialise the dialog."))
|
SHARED.error(self.tr("Could not initialise the dialog."))
|
||||||
return
|
return
|
||||||
|
|
||||||
# Update the spell check languages menu when the dialog is closed
|
dialog.finished.connect(self.mainMenu.updateSpellCheckLanguages)
|
||||||
def onDialogFinished():
|
|
||||||
self.mainMenu.updateSpellCheckLanguages()
|
|
||||||
|
|
||||||
dialog.finished.connect(onDialogFinished)
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# Main Window Actions
|
# Main Window Actions
|
||||||
|
|||||||
Reference in New Issue
Block a user