Skip to content

Commit

Permalink
- formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorDArcyEvans committed Dec 27, 2019
1 parent 102a18f commit d15a3d2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/GUI/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ private static void Main(string[] args)
// Set the user interface language
UILanguage language = UILanguage.CreateUILanguage(Settings.Default.UILanguage);
if (language != null)
{
Strings.Culture = language.Culture;
}

// Some GUI settings
Application.EnableVisualStyles();
Expand All @@ -61,9 +63,13 @@ private static void UpdateSettings()
}

if (Settings.Default.OpenedProjects == null)
{
Settings.Default.OpenedProjects = new StringCollection();
}
if (Settings.Default.RecentFiles == null)
{
Settings.Default.RecentFiles = new StringCollection();
}
}

public static string GetVersionString()
Expand All @@ -86,4 +92,4 @@ private static void LoadFiles(string[] args)
}
}
}
}
}

0 comments on commit d15a3d2

Please sign in to comment.