mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Viewer - enable save action only in the image view mode (fixes #2323)
This commit is contained in:
parent
90222158e1
commit
e7f9679e06
1 changed files with 4 additions and 1 deletions
|
|
@ -1624,8 +1624,9 @@ end;
|
|||
|
||||
procedure TfrmViewer.EnableActions(AEnabled: Boolean);
|
||||
begin
|
||||
actSave.Enabled:= AEnabled;
|
||||
actCopyFile.Enabled:= AEnabled;
|
||||
actSave.Enabled:= AEnabled and bImage;
|
||||
actSaveAs.Enabled:= AEnabled and bImage;
|
||||
actMoveFile.Enabled:= AEnabled and (FileList.Count > 1);
|
||||
actDeleteFile.Enabled:= AEnabled and (FileList.Count > 1);
|
||||
end;
|
||||
|
|
@ -3589,7 +3590,9 @@ begin
|
|||
miFullScreen.Visible := (bImage and not bQuickView);
|
||||
miScreenshot.Visible := (bImage and not bQuickView);
|
||||
miSave.Visible := bImage;
|
||||
actSave.Enabled := bImage;
|
||||
miSaveAs.Visible := bImage;
|
||||
actSaveAs.Enabled := bImage;
|
||||
|
||||
miShowTransparency.Visible := bImage;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue