1
0

kivy i18n: test if label is already bound

This commit is contained in:
ThomasV
2016-02-04 13:48:40 +01:00
parent 802261c869
commit a388b59bc2
2 changed files with 3 additions and 3 deletions

View File

@@ -19,8 +19,7 @@ class _(str):
@staticmethod
def bind(label):
if isinstance(label.text, _):
_.observers.add(label)
_.observers.add(label)
@staticmethod
def switch_lang(lang):