mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Small bugfix: Do not allow to open the autotdp window more than once.
This commit is contained in:
@@ -279,6 +279,11 @@ namespace GHelper
|
|||||||
|
|
||||||
private void ButtonAutoTDP_Click(object? sender, EventArgs e)
|
private void ButtonAutoTDP_Click(object? sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
if (autoTdpUi is not null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
autoTdpUi = new AutoTDPUI();
|
autoTdpUi = new AutoTDPUI();
|
||||||
autoTdpUi.FormClosed += AutoTdpUi_FormClosed;
|
autoTdpUi.FormClosed += AutoTdpUi_FormClosed;
|
||||||
autoTdpUi.Disposed += AutoTdpUi_Disposed;
|
autoTdpUi.Disposed += AutoTdpUi_Disposed;
|
||||||
|
|||||||
Reference in New Issue
Block a user