The spell checker now really works

This commit is contained in:
Manuel Cortez 2015-03-26 16:54:20 -06:00
parent ae6d5b38dd
commit f8c2ac7468

View File

@ -36,8 +36,8 @@ class spellChecker(object):
widgetUtils.connect_event(self.dialog.replace, widgetUtils.BUTTON_PRESSED, self.replace) widgetUtils.connect_event(self.dialog.replace, widgetUtils.BUTTON_PRESSED, self.replace)
widgetUtils.connect_event(self.dialog.replaceAll, widgetUtils.BUTTON_PRESSED, self.replaceAll) widgetUtils.connect_event(self.dialog.replaceAll, widgetUtils.BUTTON_PRESSED, self.replaceAll)
self.check() self.check()
if self.dialog.get_response() == widgetUtils.OK: self.dialog.get_response()
self.fixed_text = self.checker.get_text() self.fixed_text = self.checker.get_text()
def check(self): def check(self):
try: try: