summaryrefslogtreecommitdiff
path: root/ldmicro/coildialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ldmicro/coildialog.cpp')
-rw-r--r--ldmicro/coildialog.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/ldmicro/coildialog.cpp b/ldmicro/coildialog.cpp
index e917bb4..758e308 100644
--- a/ldmicro/coildialog.cpp
+++ b/ldmicro/coildialog.cpp
@@ -36,8 +36,6 @@ static QRadioButton* NormalRadio;
static QRadioButton* SetOnlyRadio;
static QRadioButton* ResetOnlyRadio;
static QLineEdit* NameTextbox;
-static QPushButton* OkButton;
-static QPushButton* CancelButton;
static LONG_PTR PrevNameProc;
@@ -100,9 +98,8 @@ inline void DestroyWindow()
delete SetOnlyRadio;
delete ResetOnlyRadio;
delete NameTextbox;
- delete OkButton;
- delete CancelButton;
delete CoilGrid;
+ ProgramChanged();
}
void ShowCoilDialog(BOOL *negated, BOOL *setOnly, BOOL *resetOnly, char *name)