Skip to content

Commit

Permalink
Add debug to title bar
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsPepperpot committed Nov 2, 2024
1 parent adabdca commit 7045bf4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions IndustrialPark/MainForm/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ public void UpdateTitleBar()
builder.Append("Industrial Park ");
builder.Append(new IPversion().version);

#if DEBUG
builder.Append(" (Debug)");
#endif

// Prevents a crash if form is updated from a different thread.
if (InvokeRequired)
{
Expand Down

0 comments on commit 7045bf4

Please sign in to comment.