mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-23 01:39:17 +01:00
Delay port change for when checkbox gets unchecked
This commit is contained in:
parent
262992f757
commit
78383a77e6
@ -2586,10 +2586,14 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
|
||||
}
|
||||
|
||||
private async void WaitUDPPortChange()
|
||||
{
|
||||
await TaskRunner.Delay(100);
|
||||
if (isUsingUDPServer())
|
||||
{
|
||||
await TaskRunner.Run(() => Program.rootHub.UseUDPPort());
|
||||
nUDUdpPortNum.Enabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void cBFlashWhenLate_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user