FIX: Find files - crash with an invalid regular expression (issue #2249)

(cherry picked from commit f63a5a93c5)
This commit is contained in:
Alexander Koblov 2025-05-31 17:33:58 +03:00
commit 1bb8f0f1cf

View file

@ -1729,6 +1729,8 @@ begin
Self.Repaint;
Application.ProcessMessages;
if InvalidRegExpr then Exit;
if cbFindInArchive.Enabled then
begin
if (cmbFindPathStart.Text = '') then begin