mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Viewer - disable unavailable menu items
This commit is contained in:
parent
97ed0aff36
commit
ca531db075
1 changed files with 2 additions and 2 deletions
|
|
@ -3594,9 +3594,9 @@ begin
|
|||
EnableCopy((Panel = pnlText) or (Panel = pnlCode) or (bPlugin and FWlxModule.CanCommand));
|
||||
EnableSearch((Panel = pnlText) or (Panel = pnlCode) or (bPlugin and FWlxModule.CanSearch));
|
||||
|
||||
miDiv3.Visible:= actFind.Visible or actCopyToClipboard.Visible;
|
||||
miDiv3.Visible:= actFind.Visible and actCopyToClipboard.Visible;
|
||||
|
||||
miEdit.Visible:= (Panel = pnlText) or (Panel = pnlCode) or (bPlugin and miDiv3.Visible);
|
||||
miEdit.Visible:= (actFind.Visible or actCopyToClipboard.Visible);
|
||||
|
||||
if (Panel <> pnlText) and actAutoReload.Checked then
|
||||
cm_AutoReload([]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue