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