summaryrefslogtreecommitdiff
path: root/ldmicro/maincontrols.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/maincontrols.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/maincontrols.cpp')
-rw-r--r--ldmicro/maincontrols.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldmicro/maincontrols.cpp b/ldmicro/maincontrols.cpp
index 14aa308..4d046fe 100644
--- a/ldmicro/maincontrols.cpp
+++ b/ldmicro/maincontrols.cpp
@@ -946,6 +946,7 @@ void ToggleSimulationMode(void)
}
UpdateMainWindowTitleBar();
+ RefreshControlsToSettings();
}
//-----------------------------------------------------------------------------
@@ -955,7 +956,7 @@ void ToggleSimulationMode(void)
// how many elements to populate.
//-----------------------------------------------------------------------------
void RefreshControlsToSettings(void)
-{
+{
GtkTreeIter iter;
BOOL path_not_empty = gtk_tree_model_get_iter_first (GTK_TREE_MODEL(IoList), &iter);
// g_print("path e = %i\n", path_not_empty);