mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-02-17 00:16:20 +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()
|
private async void WaitUDPPortChange()
|
||||||
|
{
|
||||||
|
await TaskRunner.Delay(100);
|
||||||
|
if (isUsingUDPServer())
|
||||||
{
|
{
|
||||||
await TaskRunner.Run(() => Program.rootHub.UseUDPPort());
|
await TaskRunner.Run(() => Program.rootHub.UseUDPPort());
|
||||||
nUDUdpPortNum.Enabled = true;
|
nUDUdpPortNum.Enabled = true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void cBFlashWhenLate_CheckedChanged(object sender, EventArgs e)
|
private void cBFlashWhenLate_CheckedChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user