Set culture before init component for Welcome Dialog

It was working before. Related to issue #205.
This commit is contained in:
Travis Nickles 2018-02-06 16:44:18 -06:00
parent bf601d2057
commit f676e6257e

View File

@ -17,14 +17,15 @@ namespace DS4Windows
{
public WelcomeDialog(bool loadConfig=false)
{
InitializeComponent();
Icon = Properties.Resources.DS4;
if (loadConfig)
{
Global.FindConfigLocation();
Global.Load();
Global.SetCulture(Global.UseLang);
}
InitializeComponent();
Icon = Properties.Resources.DS4;
}
private void bnFinish_Click(object sender, EventArgs e)