2
0
Эх сурвалжийг харах

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

Alexander Koblov 3 сар өмнө
parent
commit
f63a5a93c5
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      src/fFindDlg.pas

+ 2 - 0
src/fFindDlg.pas

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