From 95495c7585850d0cffcc81b5273c6249418e72d2 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Sat, 3 Jun 2017 03:20:46 -0700 Subject: [PATCH] Do not launch program with profile twice for auto profiles Related to issue #50. --- DS4Windows/DS4Forms/DS4Form.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DS4Windows/DS4Forms/DS4Form.cs b/DS4Windows/DS4Forms/DS4Form.cs index aabd9f5..b8bb023 100644 --- a/DS4Windows/DS4Forms/DS4Form.cs +++ b/DS4Windows/DS4Forms/DS4Form.cs @@ -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]); } }