bugfix
This commit is contained in:
parent
ba29b30fe9
commit
d372b521c4
@ -632,12 +632,14 @@ class Slider(Carousel):
|
|||||||
w = bk.widgetBuild(desc)
|
w = bk.widgetBuild(desc)
|
||||||
self.add_widget(w)
|
self.add_widget(w)
|
||||||
|
|
||||||
i18n = I18n()
|
i18n = None
|
||||||
|
|
||||||
class I18nWidget(PressableText):
|
class I18nWidget(PressableText):
|
||||||
lang = StringProperty(None)
|
lang = StringProperty(None)
|
||||||
def __init__(self, **kw):
|
def __init__(self, **kw):
|
||||||
super().__init__(**kw)
|
super().__init__(**kw)
|
||||||
|
if i18n is None:
|
||||||
|
i18n = I18n()
|
||||||
self.lang = i18n.lang
|
self.lang = i18n.lang
|
||||||
|
|
||||||
def on_lang(self, *args):
|
def on_lang(self, *args):
|
||||||
|
@ -1 +1 @@
|
|||||||
__version__ = '0.3.24'
|
__version__ = '0.3.25'
|
||||||
|
Loading…
Reference in New Issue
Block a user