mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Viewer - auto-reload using internal view mode only
(cherry picked from commit fe7d3d64d7)
This commit is contained in:
parent
b0e43b7ade
commit
378c2275de
1 changed files with 9 additions and 2 deletions
|
|
@ -1685,8 +1685,15 @@ begin
|
|||
end;
|
||||
if (NewSize <> ViewerControl.FileSize) then
|
||||
begin
|
||||
cm_Reload([]);
|
||||
ViewerControl.GoEnd;
|
||||
Screen.Cursor:= crHourGlass;
|
||||
try
|
||||
ViewerControl.FileName := ViewerControl.FileName;
|
||||
ActivatePanel(pnlText);
|
||||
FLastSearchPos := -1;
|
||||
ViewerControl.GoEnd;
|
||||
finally
|
||||
Screen.Cursor:= crDefault;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue