From f8c2ac746821256f352b80c54b8f2d62bbca0ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Thu, 26 Mar 2015 16:54:20 -0600 Subject: [PATCH] The spell checker now really works --- src/extra/SpellChecker/spellchecker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extra/SpellChecker/spellchecker.py b/src/extra/SpellChecker/spellchecker.py index f04a0367..908a648e 100644 --- a/src/extra/SpellChecker/spellchecker.py +++ b/src/extra/SpellChecker/spellchecker.py @@ -36,8 +36,8 @@ class spellChecker(object): widgetUtils.connect_event(self.dialog.replace, widgetUtils.BUTTON_PRESSED, self.replace) widgetUtils.connect_event(self.dialog.replaceAll, widgetUtils.BUTTON_PRESSED, self.replaceAll) self.check() - if self.dialog.get_response() == widgetUtils.OK: - self.fixed_text = self.checker.get_text() + self.dialog.get_response() + self.fixed_text = self.checker.get_text() def check(self): try: