init webview with existing value in ui_webview_create

Mon, 28 Jul 2025 21:23:49 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Mon, 28 Jul 2025 21:23:49 +0200
changeset 679
bdc3f59b21ca
parent 678
5a6edc92c7d9
child 680
a4795b40e679

init webview with existing value in ui_webview_create

ui/gtk/webview.c file | annotate | diff | comparison | revisions
--- a/ui/gtk/webview.c	Sun Jul 27 17:32:20 2025 +0200
+++ b/ui/gtk/webview.c	Mon Jul 28 21:23:49 2025 +0200
@@ -55,7 +55,7 @@
         value->set = ui_webview_set;
         value->obj = data;
         if(value->value && value->type && !strcmp(value->type, UI_WEBVIEW_OBJECT_TYPE)) {
-            // TODO
+            ui_webview_set(value, value->value, UI_WEBVIEW_OBJECT_TYPE);
         }
     }
     

mercurial