aboutsummaryrefslogtreecommitdiff
path: root/helpers/key.py
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/key.py')
-rw-r--r--helpers/key.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/helpers/key.py b/helpers/key.py
index 363e9ce..4ec08d1 100644
--- a/helpers/key.py
+++ b/helpers/key.py
@@ -70,7 +70,7 @@ class Key(ButtonBehavior, Widget):
70 }, 70 },
71 { 71 {
72 'trigger': 'reload', 72 'trigger': 'reload',
73 'source': 'loaded', 73 'source': ['loaded','failed'],
74 'dest': 'configuring', 74 'dest': 'configuring',
75 'after': 'key_loaded_callback' 75 'after': 'key_loaded_callback'
76 }, 76 },
@@ -190,6 +190,7 @@ class Key(ButtonBehavior, Widget):
190 def set_description(self, description): 190 def set_description(self, description):
191 if description[0] is not None: 191 if description[0] is not None:
192 self.description_title = str(description[0]) 192 self.description_title = str(description[0])
193 self.description = []
193 for desc in description[1 :]: 194 for desc in description[1 :]:
194 if desc is None: 195 if desc is None:
195 self.description.append("") 196 self.description.append("")