summaryrefslogtreecommitdiff
path: root/ldmicro/simulate.cpp
diff options
context:
space:
mode:
authorakshay-c2018-07-23 16:29:09 +0530
committerakshay-c2018-07-23 16:29:09 +0530
commit64b9b4a7cf9d7aa0c947c8771eb43d7a60f1f2f1 (patch)
treee0bfb634a7e3b0e12563c201009d9adaa9b087a7 /ldmicro/simulate.cpp
parente7a0739bd60a65f4c402e27a1543295400ff6b00 (diff)
downloadLDMicroGtk-64b9b4a7cf9d7aa0c947c8771eb43d7a60f1f2f1.tar.gz
LDMicroGtk-64b9b4a7cf9d7aa0c947c8771eb43d7a60f1f2f1.tar.bz2
LDMicroGtk-64b9b4a7cf9d7aa0c947c8771eb43d7a60f1f2f1.zip
fixes:return control to mainwindow on closing settings dialog, Update state during simulation
Diffstat (limited to 'ldmicro/simulate.cpp')
-rw-r--r--ldmicro/simulate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldmicro/simulate.cpp b/ldmicro/simulate.cpp
index 0b3c206..8cee5fe 100644
--- a/ldmicro/simulate.cpp
+++ b/ldmicro/simulate.cpp
@@ -711,6 +711,7 @@ void SimulateOneCycle(BOOL forceRefresh)
if(NeedRedraw || SimulateRedrawAfterNextCycle || forceRefresh) {
InvalidateRect(DrawWindow, NULL, FALSE);
+ RefreshControlsToSettings();
gtk_widget_queue_draw(DrawWindow);
// ListView_RedrawItems(IoList, 0, Prog.io.count - 1);
}