Skip to content

Commit

Permalink
Rename window class. Fix minor ctrl-9 issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
BazzaCuda committed May 29, 2023
1 parent df69a39 commit 7d54ed4
Show file tree
Hide file tree
Showing 4 changed files with 137 additions and 71 deletions.
4 changes: 2 additions & 2 deletions MinimalistMediaPlayer.dpr
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ program MinimalistMediaPlayer;

uses
Vcl.Forms,
main in 'main.pas' {UI},
main in 'main.pas' {MMPUI},
FormInputBox in 'FormInputBox.pas' {InputBoxForm},
Vcl.Themes,
Vcl.Styles,
Expand All @@ -40,7 +40,7 @@ begin

Application.Initialize;
Application.MainFormOnTaskbar := True;
Application.CreateForm(TUI, UI);
Application.CreateForm(TMMPUI, UI);
try
Application.Run;
except
Expand Down
2 changes: 1 addition & 1 deletion MinimalistMediaPlayer.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
<MainSource>MainSource</MainSource>
</DelphiCompile>
<DCCReference Include="main.pas">
<Form>UI</Form>
<Form>MMPUI</Form>
</DCCReference>
<DCCReference Include="FormInputBox.pas">
<Form>InputBoxForm</Form>
Expand Down
2 changes: 1 addition & 1 deletion main.dfm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
object UI: TUI
object MMPUI: TMMPUI
Left = 0
Top = 0
BorderIcons = [biSystemMenu]
Expand Down
Loading

0 comments on commit 7d54ed4

Please sign in to comment.