kivy-catalog /

Diff from to
         '''Called when an accordionitem is collapsed or expanded. If it
         was expanded, we need to show the .kv language file associated with
         the newly revealed container.'''
+        if collapsed == "down":  # a tabbed panel was clicked, not an accordion
+            object = object.content.children[0]
+            collapsed = False
         if not collapsed and hasattr(object, "kv_container"):
+            print "called"
             with open(object.kv_container.kv_file) as file:
                 self.language_box.text =
                 self.kv_container = object.kv_container