summaryrefslogtreecommitdiff
path: root/ldmicro/maincontrols.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ldmicro/maincontrols.cpp')
-rw-r--r--ldmicro/maincontrols.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/ldmicro/maincontrols.cpp b/ldmicro/maincontrols.cpp
index 4f04a17..ff68860 100644
--- a/ldmicro/maincontrols.cpp
+++ b/ldmicro/maincontrols.cpp
@@ -947,7 +947,7 @@ 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);
+ // g_print("path e = %i\n", path_not_empty);
int * ip;
int i = 0;
@@ -970,9 +970,16 @@ void RefreshControlsToSettings(void)
gtk_list_store_clear (GTK_LIST_STORE(IoList));
+ /// Fill IO List
+ NMHDR h;
+ h.code = LVN_GETDISPINFO;
+ h.hlistFrom = IoList;
+
for(i = 0; i < Prog.io.count; i++) {
gtk_list_store_append (GTK_LIST_STORE(IoList), &iter);
-
+ h.item.iItem = i;
+ h.hlistIter = &iter;
+ IoListProc(&h);
}
if(IoListSelectionPoint >= 0) {