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 0d1489aa800b01d1e29362a2b2679a30676be479..457736f54033b510ff2a2e1a067f24fa0240e069 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"