diff options
author | akshay-c | 2019-12-16 11:09:46 +0530 |
---|---|---|
committer | akshay-c | 2019-12-16 11:09:46 +0530 |
commit | 89ac0ff09bcf77bb0d6d3158746d97b916d1935c (patch) | |
tree | 3097c9f0f56917d39a1d5e4c1aa3c8522c104f3d /ldmicro/commentdialog.cpp | |
parent | 8794ca93788a8aa75911fe799748dc043510047d (diff) | |
download | LDmicroQt-89ac0ff09bcf77bb0d6d3158746d97b916d1935c.tar.gz LDmicroQt-89ac0ff09bcf77bb0d6d3158746d97b916d1935c.tar.bz2 LDmicroQt-89ac0ff09bcf77bb0d6d3158746d97b916d1935c.zip |
Comment dialog Bugfix;Toolbar disable during simulation;Code cleanup;
Diffstat (limited to 'ldmicro/commentdialog.cpp')
-rw-r--r-- | ldmicro/commentdialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ldmicro/commentdialog.cpp b/ldmicro/commentdialog.cpp index 8e29528..28cd521 100644 --- a/ldmicro/commentdialog.cpp +++ b/ldmicro/commentdialog.cpp @@ -54,9 +54,9 @@ static void MakeControls(void) } static inline void DestroyWindow(){ - delete CommentDialog; delete CommentTextbox; delete CommentGrid; + delete CommentDialog; ProgramChanged(); } @@ -76,7 +76,6 @@ void ShowCommentDialog(char *comment) strncpy(comment, CommentTextbox->text().toStdString().c_str(), MAX_COMMENT_LEN -1); - } break; case QDialog::Rejected: |