kivy i18n: test if label is already bound
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user