Skip to content

Commit

Permalink
Fix startup bug and main window title
Browse files Browse the repository at this point in the history
  • Loading branch information
dpmm99 committed Mar 3, 2019
1 parent a0443dd commit 5e7932b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
20 changes: 10 additions & 10 deletions Forms/DockParent.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Forms/DockParent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ private void tmrInitializer_Tick(object sender, EventArgs e)

//TODO: Get body types from file
targetsPanel.LoadData(nutrients, targets, targetOverrides, bodyTypes);
solverState = SolverState.Ready;

//TODO: Error check the mappings between those files
}
Expand Down
2 changes: 1 addition & 1 deletion ProgramState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static class ProgramState
public static List<NutrientTarget> targets;
public static List<NutrientTarget> targetOverrides = new List<NutrientTarget>();
public static byte bodyType; //For the sake of serialization/deserialization
public static SolverState solverState;
public static SolverState solverState = SolverState.Loading;
public static int targetFoodUnits;

public enum SolverState
Expand Down

0 comments on commit 5e7932b

Please sign in to comment.