small fix
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 22 Jun 2006 21:00:07 +0000 (21:00 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 22 Jun 2006 21:00:07 +0000 (21:00 +0000)
lib/python/Components/Input.py

index f741eabe8fbd5d4b5e10021bd28998b74312a294..e6e27fab6e12c1351ce81ca7c215ef4fec8f4ffe 100644 (file)
@@ -33,6 +33,7 @@ class Input(VariableText, HTMLComponent, GUIComponent):
        def setText(self, text):
                if not len(text):
                        self.currPos = 0
+                       self.Text = ""
                elif isUTF8(text):
                        self.Text = convertUTF8DVB(text, 0)
                else: