aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2010-06-21 10:20:09 +0200
committerFraxinas <andreas.frisch@multimedia-labs.de>2010-06-21 10:24:11 +0200
commit8c3450ff90df7ed4b5eb250000d54a43c54c146e (patch)
tree683f74176f43ec85ae7bf188ed12cf7971071ed5 /lib/python
parent7c42f86e02b3ab79a8d4366d2b74e01e490e46f1 (diff)
downloadenigma2-8c3450ff90df7ed4b5eb250000d54a43c54c146e.tar.gz
enigma2-8c3450ff90df7ed4b5eb250000d54a43c54c146e.zip
set currently running audio + subtitle streams as default selection. on OK keypress, select and close dialog. (add #188)
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/AudioSelection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Screens/AudioSelection.py b/lib/python/Screens/AudioSelection.py
index bacc00c1..a0bfcab9 100644
--- a/lib/python/Screens/AudioSelection.py
+++ b/lib/python/Screens/AudioSelection.py
@@ -51,12 +51,12 @@ class AudioSelection(Screen, ConfigListScreen):
self.settings = ConfigSubsection()
choicelist = [(PAGE_AUDIO,_("audio tracks")), (PAGE_SUBTITLES,_("Subtitles"))]
self.settings.menupage = ConfigSelection(choices = choicelist, default=page)
- self.settings.menupage.addNotifier(self.fillList)
self.onLayoutFinish.append(self.__layoutFinished)
def __layoutFinished(self):
self["config"].instance.setSelectionEnable(False)
self.focus = FOCUS_STREAMS
+ self.settings.menupage.addNotifier(self.fillList)
def fillList(self, arg=None):
streams = []
@@ -301,7 +301,7 @@ class AudioSelection(Screen, ConfigListScreen):
else:
self.enableSubtitle(cur[0])
self.__updatedInfo()
- #self.close()
+ self.close(0)
elif self.focus == FOCUS_CONFIG:
self.keyRight()