Skip to content

Commit

Permalink
move code part
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-T committed Oct 2, 2022
1 parent 2a6540c commit 3aa6e5b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app/formmain.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1215,8 +1215,6 @@ implementation

{$R *.lfm}

{$I formmain_commandline.inc}

var
PythonEng: TPythonEngine = nil;
PythonModule: TPythonModule = nil;
Expand Down Expand Up @@ -2753,6 +2751,13 @@ procedure TfmMain.FormCreate(Sender: TObject);
ShowMenu:= false;
end;

procedure InitAdditionalCommandLineOptions(
out AWindowPos: string;
out AAllowSessionLoad, AAllowSessionSave: TAppAllowSomething;
out AStartupCommand: string;
out AFileFolderCount: integer);
forward;

procedure TfmMain.DoOps_OnCreate;
begin
//must load window position in OnCreate to fix flickering with maximized window, Win10
Expand Down Expand Up @@ -8608,5 +8613,6 @@ procedure TfmMain.mnuEditClick(Sender: TObject);
{$I formmain_themes.inc}
{$I formmain_sidepanel.inc}
{$I formmain_bottompanel.inc}
{$I formmain_commandline.inc}

end.

0 comments on commit 3aa6e5b

Please sign in to comment.