Small bugfix: Do not allow to open the autotdp window more than once.

This commit is contained in:
IceStormNG
2024-03-02 20:06:21 +01:00
parent 61803dbc39
commit 65c5b645a8

View File

@@ -279,6 +279,11 @@ namespace GHelper
private void ButtonAutoTDP_Click(object? sender, EventArgs e)
{
if (autoTdpUi is not null)
{
return;
}
autoTdpUi = new AutoTDPUI();
autoTdpUi.FormClosed += AutoTdpUi_FormClosed;
autoTdpUi.Disposed += AutoTdpUi_Disposed;