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/ldmicro.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/ldmicro.cpp')
-rw-r--r-- | ldmicro/ldmicro.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ldmicro/ldmicro.cpp b/ldmicro/ldmicro.cpp index 8e5d758..fa5ea5a 100644 --- a/ldmicro/ldmicro.cpp +++ b/ldmicro/ldmicro.cpp @@ -294,9 +294,12 @@ void ProgramChanged(void) } #define CHANGING_PROGRAM(x) { \ + if(!InSimulationMode) \ + { \ UndoRemember(); \ x; \ ProgramChanged();\ + } \ } //----------------------------------------------------------------------------- |