projects
/
openblackhole
/
openblackhole-enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c8c4cf
)
Navigation: Fix crash when there is no servicelist
author
Littlesat
<littlesat99@yahoo.com>
Sun, 29 Jul 2012 09:36:37 +0000
(11:36 +0200)
committer
Littlesat
<littlesat99@yahoo.com>
Sun, 29 Jul 2012 09:36:37 +0000
(11:36 +0200)
Navigation.py
patch
|
blob
|
history
diff --git
a/Navigation.py
b/Navigation.py
index
9b9ef1d
..
2547ec9
100644
(file)
--- a/
Navigation.py
+++ b/
Navigation.py
@@
-83,7
+83,9
@@
class Navigation:
if self.pnav:
self.pnav.stopService()
self.currentlyPlayingServiceReference = playref
- InfoBar.instance.servicelist.servicelist.setCurrent(playref)
+ CurrentServiceList = InfoBar.instance.servicelist
+ if CurrentServiceList is not None:
+ CurrentServiceList.servicelist.setCurrent(playref)
if self.pnav.playService(playref):
print "Failed to start", playref
self.currentlyPlayingServiceReference = None