From d47e6ba58f0ba8cb79ee593801aaa671be85a3c6 Mon Sep 17 00:00:00 2001 From: Moritz Venn Date: Mon, 11 Feb 2008 11:16:04 +0000 Subject: [PATCH] - return current path when a channel is selected in simplebouquetselection to be able to select favorites in single bouquet mode or "all services" --- epgrefresh/src/EPGRefreshChannelEditor.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/epgrefresh/src/EPGRefreshChannelEditor.py b/epgrefresh/src/EPGRefreshChannelEditor.py index 2d4afd12..284df3f7 100644 --- a/epgrefresh/src/EPGRefreshChannelEditor.py +++ b/epgrefresh/src/EPGRefreshChannelEditor.py @@ -26,8 +26,9 @@ class SimpleBouquetSelection(SimpleChannelSelection): if (ref.flags & 7) == 7: self.close(ref) else: - # TODO: we could just accept the current path here.... - print "[BouquetSelector] Dunno what to do, no directory selected:", ref," :-/" + # We return the currently active path here + # Asking the user if this is what he wants might be better though + self.close(self.servicePath[-1]) class EPGRefreshServiceEditor(Screen, ConfigListScreen): """Edit Services to be refreshed by EPGRefresh""" -- 2.20.1