mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Zero-length file comparison does not end (fixes #301)
This commit is contained in:
parent
4d4d8d992a
commit
de6ea6c013
1 changed files with 8 additions and 1 deletions
|
|
@ -300,12 +300,19 @@ begin
|
|||
else begin
|
||||
OpenFileLeft(FileNameLeft);
|
||||
OpenFileRight(FileNameRight);
|
||||
actStartCompare.Execute;
|
||||
if actStartCompare.Enabled then
|
||||
actStartCompare.Execute
|
||||
else begin
|
||||
tmProgress.Enabled:= False;
|
||||
CloseProgressDialog;
|
||||
ShowDialog;
|
||||
end;
|
||||
end;
|
||||
except
|
||||
on E: Exception do
|
||||
begin
|
||||
tmProgress.Enabled:= False;
|
||||
CloseProgressDialog;
|
||||
msgError(E.Message);
|
||||
Free;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue