Moved linked profiles loading further in init

This commit is contained in:
Travis Nickles 2018-12-13 14:53:49 -06:00
parent f7da78090f
commit f6bb47451e

View File

@ -252,7 +252,6 @@ namespace DS4Windows
LogDebug(DateTime.Now, "DS4Windows version " + version, false); LogDebug(DateTime.Now, "DS4Windows version " + version, false);
LoadP(); LoadP();
LoadLinkedProfiles();
Global.BatteryStatusChange += BatteryStatusUpdate; Global.BatteryStatusChange += BatteryStatusUpdate;
Global.ControllerRemoved += ControllerRemovedChange; Global.ControllerRemoved += ControllerRemovedChange;
@ -397,6 +396,7 @@ namespace DS4Windows
AppLogger.GuiLog += On_Debug; AppLogger.GuiLog += On_Debug;
AppLogger.TrayIconLog += ShowNotification; AppLogger.TrayIconLog += ShowNotification;
LoadLinkedProfiles();
TaskRunner.Delay(50).ContinueWith((t) => TaskRunner.Delay(50).ContinueWith((t) =>
{ {