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,12 +398,18 @@ namespace DS4Windows
AppLogger.GuiLog += On_Debug; AppLogger.GuiLog += On_Debug;
AppLogger.TrayIconLog += ShowNotification; AppLogger.TrayIconLog += ShowNotification;
if (btnStartStop.Enabled && start) TaskRunner.Delay(50).ContinueWith((t) =>
TaskRunner.Delay(50).ContinueWith((t) => { {
UpdateTheUpdater(); UpdateTheUpdater();
});
if (btnStartStop.Enabled && start)
{
TaskRunner.Delay(50).ContinueWith((t) => {
this.BeginInvoke((System.Action)(() => BtnStartStop_Clicked())); this.BeginInvoke((System.Action)(() => BtnStartStop_Clicked()));
}); });
} }
}
private void populateHoverTextDict() private void populateHoverTextDict()
{ {