scroll to bottom of output after execution
authorFraxinas <andreas.frisch@multimedia-labs.de>
Tue, 18 Nov 2008 12:14:46 +0000 (13:14 +0100)
committerFraxinas <andreas.frisch@multimedia-labs.de>
Tue, 18 Nov 2008 12:14:46 +0000 (13:14 +0100)
lib/python/Screens/Console.py

index b57f240..c6b156c 100644 (file)
@@ -55,6 +55,7 @@ class Console(Screen):
                        str = self["text"].getText()
                        str += _("Execution finished!!");
                        self["text"].setText(str)
                        str = self["text"].getText()
                        str += _("Execution finished!!");
                        self["text"].setText(str)
+                       self["text"].lastPage()
                        if self.finishedCallback is not None:
                                self.finishedCallback()
                        if not retval and self.closeOnSuccess:
                        if self.finishedCallback is not None:
                                self.finishedCallback()
                        if not retval and self.closeOnSuccess:
@@ -67,4 +68,4 @@ class Console(Screen):
                        self.container.dataAvail.remove(self.dataAvail)
 
        def dataAvail(self, str):
                        self.container.dataAvail.remove(self.dataAvail)
 
        def dataAvail(self, str):
-               self["text"].setText(self["text"].getText() + str)
+               self["text"].setText(self["text"].getText() + str)
\ No newline at end of file