diff --git a/nw/gui/preferences.py b/nw/gui/preferences.py index 6bb39033..999464b3 100644 --- a/nw/gui/preferences.py +++ b/nw/gui/preferences.py @@ -626,13 +626,10 @@ class GuiConfigEditEditingTab(QWidget): self.spellToolList = QComboBox(self) self.spellToolList.addItem("Internal (difflib)", NWSpellCheck.SP_INTERNAL) self.spellToolList.addItem("Spell Enchant (pyenchant)", NWSpellCheck.SP_ENCHANT) - # self.spellToolList.addItem("SymSpell (symspellpy)", NWSpellCheck.SP_SYMSPELL) - theModel = self.spellToolList.model() - idEnchant = self.spellToolList.findData(NWSpellCheck.SP_ENCHANT) - # idSymSpell = self.spellToolList.findData(NWSpellCheck.SP_SYMSPELL) + theModel = self.spellToolList.model() + idEnchant = self.spellToolList.findData(NWSpellCheck.SP_ENCHANT) theModel.item(idEnchant).setEnabled(self.mainConf.hasEnchant) - # theModel.item(idSymSpell).setEnabled(self.mainConf.hasSymSpell) self.spellToolList.currentIndexChanged.connect(self._doUpdateSpellTool) toolIdx = self.spellToolList.findData(self.mainConf.spellTool)