mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Viewer - Print error message to console when cannot load image
This commit is contained in:
parent
8e7fd05460
commit
2dfa24a57e
1 changed files with 10 additions and 2 deletions
|
|
@ -2230,7 +2230,11 @@ begin
|
|||
end;
|
||||
AdjustImageSize;
|
||||
except
|
||||
Exit(False);
|
||||
on E: Exception do
|
||||
begin
|
||||
DCDebug(E.Message);
|
||||
Exit(False);
|
||||
end;
|
||||
end;
|
||||
end
|
||||
else
|
||||
|
|
@ -2253,7 +2257,11 @@ begin
|
|||
btnNextGifFrame.Visible:= True;
|
||||
btnPrevGifFrame.Visible:= True;
|
||||
except
|
||||
Exit(False);
|
||||
on E: Exception do
|
||||
begin
|
||||
DCDebug(E.Message);
|
||||
Exit(False);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
ImgEdit:= False;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue