- added ListBoxContents: based on std::list<std::string> and PyList with Strings
[enigma2.git] / screens.py
index 50a9ddace0f15c1b59b62121fe40b21a75246f99..cf1dac10ee4e0d355530b9eaa97b6b44a1ac7a58 100644 (file)
@@ -14,10 +14,7 @@ class Screen(dict, HTMLSkin, GUISkin):
 # a test dialog
 class testDialog(Screen):
        def testDialogClick(self):
-               if self.tries == 0:
-                       self["title"].setText("Hihi - no, this doesn't work!")
-               else:
-                       self["title"].setText("You tried it %d times without success now!" % self.tries )
+               self["title"].setText(self["menu"].getCurrent())
 
                self.tries += 1