added reload (cancel)
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Wed, 31 Aug 2005 15:10:17 +0000 (15:10 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Wed, 31 Aug 2005 15:10:17 +0000 (15:10 +0000)
lib/python/Components/config.py

index 0d1489a..457736f 100644 (file)
@@ -11,7 +11,7 @@ class configBoolean:
                        self.parent.value = len(self.parent.vals) - 1
 
        def cancel(self):
-               print "cancel"
+               self.parent.reload()
 
        def save(self):
                print "save"
@@ -58,7 +58,7 @@ class ConfigSlider:
                self.parent = parent
 
        def cancel(self):
-               print "slider - cancel"
+               self.parent.reload()
 
        def save(self):
                print "slider - save"