mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-24 15:41:49 +01:00
Delay execution of service start
This commit is contained in:
parent
41ebb0d716
commit
39762a361a
@ -275,9 +275,6 @@ namespace DS4Windows
|
||||
hotkeysTimer.Start();
|
||||
}
|
||||
|
||||
if (btnStartStop.Enabled && start)
|
||||
BtnStartStop_Clicked();
|
||||
|
||||
startToolStripMenuItem.Text = btnStartStop.Text;
|
||||
cBoxNotifications.SelectedIndex = Notifications;
|
||||
cBSwipeProfiles.Checked = SwipeProfiles;
|
||||
@ -398,6 +395,9 @@ namespace DS4Windows
|
||||
control.MouseHover += ClearLastMessage;
|
||||
}
|
||||
}
|
||||
|
||||
if (btnStartStop.Enabled && start)
|
||||
TaskRunner.Delay(10).ContinueWith((t) => this.BeginInvoke((System.Action)(() => BtnStartStop_Clicked())));
|
||||
}
|
||||
|
||||
private void populateHoverTextDict()
|
||||
|
Loading…
Reference in New Issue
Block a user