X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/e74488aadbdfd34aea53166c9447016f3fa3ac29..46b16b46aa3c50fdc848f3c228d06871450653f2:/lib/python/Screens/Console.py diff --git a/lib/python/Screens/Console.py b/lib/python/Screens/Console.py index 622fb447..0ceba3ec 100644 --- a/lib/python/Screens/Console.py +++ b/lib/python/Screens/Console.py @@ -7,7 +7,7 @@ class Console(Screen): #TODO move this to skin.xml skin = """ - + """ def __init__(self, session, title = "Console", cmdlist = None, finishedCallback = None, closeOnSuccess = False): @@ -63,6 +63,8 @@ class Console(Screen): def cancel(self): if self.run == len(self.cmdlist): self.close() + self.container.appClosed.get().remove(self.runFinished) + self.container.dataAvail.get().remove(self.dataAvail) def dataAvail(self, str): self["text"].setText(self["text"].getText() + str)