enable setop in uic_copy_binding

7 days ago

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Mon, 24 Mar 2025 18:59:52 +0100 (7 days ago)
changeset 507
7f380a3ac9a1
parent 506
02ddf1044cbc
child 508
b825721fd6c7

enable setop in uic_copy_binding

ui/common/context.c file | annotate | diff | comparison | revisions
--- a/ui/common/context.c	Mon Mar 24 18:54:36 2025 +0100
+++ b/ui/common/context.c	Mon Mar 24 18:59:52 2025 +0100
@@ -292,6 +292,8 @@
         to->from_ctx = from->from_ctx;
     }
     
+    ui_setop_enable(TRUE);
+    
     // copy binding
     // we don't copy the observer, because the from var has never one
     switch(from->type) {
@@ -373,6 +375,8 @@
             break;
         }
     }
+    
+    ui_setop_enable(FALSE);
 }
 
 void uic_save_var2(UiVar *var) {

mercurial