mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Quick view panel crash (fixes #2011)
This commit is contained in:
parent
01a66177ec
commit
f0f2b02c53
1 changed files with 2 additions and 1 deletions
|
|
@ -2194,6 +2194,7 @@ begin
|
|||
pmStatusBar.Items.Add(miEncoding);
|
||||
pmStatusBar.Items.Add(miImage);
|
||||
end;
|
||||
actExitViewer.Enabled:= not bQuickView;
|
||||
|
||||
HMViewer := HotMan.Register(Self, HotkeysCategory);
|
||||
HMViewer.RegisterActionList(actionList);
|
||||
|
|
@ -3960,7 +3961,7 @@ end;
|
|||
|
||||
procedure TfrmViewer.cm_ExitViewer(const Params: array of string);
|
||||
begin
|
||||
Close;
|
||||
if not bQuickView then Close;
|
||||
end;
|
||||
|
||||
procedure TfrmViewer.cm_Print(const Params: array of string);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue