From bf15f19ecb1d3d8df6941000639bbe5cbdf62d26 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Sun, 22 Jan 2012 18:57:18 +0100 Subject: [PATCH] lang: mimic the old order of assignemnt (assign in the traversing order, not the inverse) --- kivy/lang.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivy/lang.py b/kivy/lang.py index e13c3368e..d8a6dab4c 100644 --- a/kivy/lang.py +++ b/kivy/lang.py @@ -1268,7 +1268,7 @@ class BuilderBase(object): return # normally, we can apply a list of properties with a proper context - for widget_set, rules in rctx['set']: + for widget_set, rules in reversed(rctx['set']): for rule in rules: assert(isinstance(rule, ParserRuleProperty)) key = rule.name