summaryrefslogtreecommitdiff
path: root/src/lib/json_generator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/json_generator.c')
-rw-r--r--src/lib/json_generator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/json_generator.c b/src/lib/json_generator.c
index a434163..9fe4a8b 100644
--- a/src/lib/json_generator.c
+++ b/src/lib/json_generator.c
@@ -465,6 +465,7 @@ _widgets_json_generate(const Gui_Context *ctx)
465 Gui_Widget *wdg = wdg_get(wdg_id); 465 Gui_Widget *wdg = wdg_get(wdg_id);
466 if (wdg) 466 if (wdg)
467 { 467 {
468 if (!wdg_main_wdg_get(wdg)) continue;
468 if (!obj) obj = eina_json_object_new(); 469 if (!obj) obj = eina_json_object_new();
469 Eina_Json_Value *subobj = _widget_json_generate(wdg); 470 Eina_Json_Value *subobj = _widget_json_generate(wdg);
470 eina_json_object_append(obj, wdg_name_get(wdg), subobj); 471 eina_json_object_append(obj, wdg_name_get(wdg), subobj);