Do not launch program with profile twice for auto profiles

Related to issue #50.
This commit is contained in:
Travis Nickles 2017-06-03 03:20:46 -07:00
parent 4b0e3dee62
commit 95495c7585

View File

@ -625,8 +625,8 @@ namespace DS4Windows
{
if (proprofiles[j][i] != "(none)" && proprofiles[j][i] != Properties.Resources.noneProfile)
{
LoadTempProfile(j, proprofiles[j][i], true, Program.rootHub); //j is controller index, i is filename
if (LaunchProgram[j] != string.Empty) Process.Start(LaunchProgram[j]);
LoadTempProfile(j, proprofiles[j][i], true, Program.rootHub); // j is controller index, i is filename
//if (LaunchProgram[j] != string.Empty) Process.Start(LaunchProgram[j]);
}
}