Moved updating updater call

This commit is contained in:
Travis Nickles 2018-12-13 05:55:38 -06:00
parent 86fb3c2a0b
commit b28a6cb446

View File

@ -398,11 +398,17 @@ namespace DS4Windows
AppLogger.GuiLog += On_Debug; AppLogger.GuiLog += On_Debug;
AppLogger.TrayIconLog += ShowNotification; AppLogger.TrayIconLog += ShowNotification;
TaskRunner.Delay(50).ContinueWith((t) =>
{
UpdateTheUpdater();
});
if (btnStartStop.Enabled && start) if (btnStartStop.Enabled && start)
{
TaskRunner.Delay(50).ContinueWith((t) => { TaskRunner.Delay(50).ContinueWith((t) => {
UpdateTheUpdater();
this.BeginInvoke((System.Action)(() => BtnStartStop_Clicked())); this.BeginInvoke((System.Action)(() => BtnStartStop_Clicked()));
}); });
}
} }
private void populateHoverTextDict() private void populateHoverTextDict()