diff --git a/kivy/factory.py b/kivy/factory.py index c7ef953ec..2ea9eff90 100644 --- a/kivy/factory.py +++ b/kivy/factory.py @@ -59,6 +59,8 @@ class FactoryBase(object): ''' if cls is None and module is None: raise ValueError('You must specify either cls= or module=') + if classname in self.classes: + return self.classes[classname] = { 'module': module, 'cls': cls,