dont scan when the tda1002x tool is canceled by the user
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 31 May 2007 20:17:32 +0000 (20:17 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 31 May 2007 20:17:32 +0000 (20:17 +0000)
lib/python/Screens/ScanSetup.py

index d15e0bd14e098dcd5d3baf95469b514b1985ae68..ba9f83e1062f23395a2e5a3b55f8924a233b6ca4 100644 (file)
@@ -158,14 +158,14 @@ class CableTransponderSearchSupport:
                print "cableTransponderSearchSessionClosed, val", val
                self.cable_search_container = None
                self.cable_search_session = None
-               if val and len(val) and not val[0]:
+               if val and len(val) and val[0]:
                        self.setCableTransponderSearchResult(self.__tlist)
                self.__tlist = None
                self.cableTransponderSearchFinished()
 
        def cableTransponderSearchClosed(self, retval):
                print "cableTransponderSearch finished", retval
-               self.cable_search_session.close(0)
+               self.cable_search_session.close(True)
 
        def getCableTransponderData(self, str):
                data = str.split()