Index: gc_lang/fr/oxt/DictOptions/SearchWords.py ================================================================== --- gc_lang/fr/oxt/DictOptions/SearchWords.py +++ gc_lang/fr/oxt/DictOptions/SearchWords.py @@ -207,15 +207,17 @@ try: if sFlexPattern: re.compile(sFlexPattern) except: MessageBox(self.xDocument, self.dUI.get("regex_error_flexion", "#err"), self.dUI.get("error", "#err"), nBoxType=ERRORBOX) + sFlexPattern = "" try: if sTagsPattern: re.compile(sTagsPattern) except: MessageBox(self.xDocument, self.dUI.get("regex_error_tags", "#err"), self.dUI.get("error", "#err"), nBoxType=ERRORBOX) + sTagsPattern = "" xGridDataModel = self.xGridModel.GridDataModel xGridDataModel.removeAllRows() for i, aEntry in enumerate(self.oSpellChecker.select(sFlexPattern, sTagsPattern)): xGridDataModel.addRow(i, aEntry) i += 1