mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-15 02:12:29 +12:00
Proclaim to all textEditView that dict has been changed
This commit is contained in:
parent
1532ceecae
commit
09754166f0
|
@ -732,6 +732,10 @@ class MainWindow(QMainWindow, Ui_MainWindow):
|
|||
if i.isChecked():
|
||||
self.dictChanged.emit(i.text().replace("&", ""))
|
||||
settings.dict = i.text().replace("&", "")
|
||||
|
||||
# Find all textEditView from self, and toggle spellcheck
|
||||
for w in self.findChildren(textEditView, QRegExp(".*"), Qt.FindChildrenRecursively):
|
||||
w.setDict(settings.dict)
|
||||
|
||||
def openPyEnchantWebPage(self):
|
||||
QDesktopServices.openUrl(QUrl("http://pythonhosted.org/pyenchant/"))
|
||||
|
|
Loading…
Reference in a new issue