Fixed listview selected None crash

Do not use core.playback.cange_track()
close #1
This commit is contained in:
Ander
2015-03-24 11:22:21 +01:00
parent 542ce26377
commit 1f2f64e210
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ class ListView():
self.move_to(direction)
else:
return int(key)
elif touch_event.type == InputManager.key:
elif touch_event.type == InputManager.key and self.selected is not None:
if touch_event.direction == InputManager.enter:
if self.selected is not None:
return self.selected