bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=59ee633dc0cadb17a426ca588be16992c126ee6f

commit 59ee633dc0cadb17a426ca588be16992c126ee6f
Author: Marcel Hollerbach <m...@marcel-hollerbach.de>
Date:   Mon Mar 23 17:32:56 2020 +0100

    efl_ui_widget: pass the correct flag here
    
    this here needs to pass the flag that gets set, not the flag that
    results. This is important for the cases, where a subtree in a widget
    tree keeps the flag. As this would leave the wrong counter.
    
    Reviewed-by: Mike Blumenkrantz <michael.blumenkra...@gmail.com>
    Differential Revision: https://phab.enlightenment.org/D11556
---
 src/lib/elementary/efl_ui_widget.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elementary/efl_ui_widget.c 
b/src/lib/elementary/efl_ui_widget.c
index d7ffb50489..b9e51267c3 100644
--- a/src/lib/elementary/efl_ui_widget.c
+++ b/src/lib/elementary/efl_ui_widget.c
@@ -1803,7 +1803,7 @@ elm_widget_tree_unfocusable_set(Eo *obj, Eina_Bool 
tree_unfocusable)
    if (old_tree_unfocusable != pd->tree_unfocusable)
      {
         _full_eval(obj, pd);
-        _propagate_bool_property(pd, elm_widget_tree_unfocusable_get(obj), 
elm_widget_tree_unfocusable_set);
+        _propagate_bool_property(pd, tree_unfocusable, 
elm_widget_tree_unfocusable_set);
      }
 }
 
@@ -2148,7 +2148,7 @@ _efl_ui_widget_disabled_set(Eo *obj EINA_UNUSED, 
Elm_Widget_Smart_Data *pd, Eina
      {
         if (efl_finalized_get(obj))
           _full_eval(obj, pd);
-        _propagate_bool_property(pd, efl_ui_widget_disabled_get(obj), 
efl_ui_widget_disabled_set);
+        _propagate_bool_property(pd, disabled, efl_ui_widget_disabled_set);
      }
 }
 

-- 


Reply via email to