This is caused by bad defaults in ui.py in the ShowMenu class. The attribute self.selection = [0] is wrong as menu may be empty.
This is caused by bad defaults in ui.py in the ShowMenu class. The attribute self.selection = [0] is wrong as menu may be empty.