CRe: fix issues with case sensitive and regex search (#7947)

Fix crash with previous commit.
Show regex checkbox only with cre documents.
This commit is contained in:
zwim
2021-07-08 23:30:37 +02:00
committed by GitHub
parent 826a765705
commit 4d9d599a6a
2 changed files with 6 additions and 6 deletions

View File

@@ -1248,7 +1248,7 @@ function CreDocument:checkRegex(pattern)
end
function CreDocument:getAndClearRegexSearchError()
retval = self._document:getAndClearRegexSearchError()
local retval = self._document:getAndClearRegexSearchError()
logger.dbg("CreDocument: getAndClearRegexSearchError", retval)
return retval
end