add missing save for videomode config entries
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 9 May 2008 11:04:42 +0000 (11:04 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 9 May 2008 11:04:42 +0000 (11:04 +0000)
lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py

index c90f8fd..87529af 100644 (file)
@@ -164,8 +164,11 @@ class VideoHardware:
 
        def saveMode(self, port, mode, rate):
                config.av.videoport.value = port
+               config.av.videoport.save()
                config.av.videomode[port].value = mode
+               config.av.videomode[port].save()
                config.av.videorate[mode].value = rate
+               config.av.videorate[mode].save()
 
        def isPortAvailable(self, port):
                # fixme