ui/common/context.c

changeset 507
7f380a3ac9a1
parent 492
f74d46ffaca1
--- 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