mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Global menu and quick view (OS X)
This commit is contained in:
parent
a35c42e065
commit
4b6e5e224e
3 changed files with 1 additions and 2 deletions
|
|
@ -50,7 +50,6 @@ inherited frmViewer: TfrmViewer
|
|||
0000
|
||||
}
|
||||
KeyPreview = True
|
||||
Menu = MainMenu
|
||||
OnClose = frmViewerClose
|
||||
OnCreate = FormCreate
|
||||
OnDestroy = FormDestroy
|
||||
|
|
|
|||
|
|
@ -364,6 +364,7 @@ begin
|
|||
FFileSource := aFileSource;
|
||||
FLastSearchPos := -1;
|
||||
FThumbnailManager:= nil;
|
||||
if not bQuickView then Menu:= MainMenu;
|
||||
FBitmapList:= TBitmapList.Create(True);
|
||||
FCommands := TFormCommands.Create(Self, actionList);
|
||||
end;
|
||||
|
|
|
|||
|
|
@ -88,7 +88,6 @@ begin
|
|||
FViewer:= TfrmViewer.Create(Self, nil, True);
|
||||
FViewer.Parent:= Self;
|
||||
FViewer.BorderStyle:= bsNone;
|
||||
FViewer.Menu:= nil;
|
||||
FViewer.Align:= alClient;
|
||||
FFirstFile:= True;
|
||||
FFileView:= aFileView;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue