X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/bc851c60af8c44be9d5b24637ce335a8abf20401..924b11457b3276c94631707fc66419b8db6d5cb8:/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml diff --git a/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml b/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml index 681a6633..48a5ad00 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml +++ b/lib/python/Plugins/SystemPlugins/Videomode/videowizard.xml @@ -1,6 +1,6 @@ - + @@ -31,7 +31,7 @@ self["portpic"].hide() -self.condition = (self.port != "DVI") +self.condition = (self.port != "DVI" or self.mode == "PC") @@ -49,7 +49,7 @@ self["rc"].startMoving() -self.condition = (self.port == "DVI") +self.condition = (self.port == "DVI" and self.mode in ["720p", "1080i"]) @@ -65,7 +65,7 @@ self.rateSelect("60Hz") -self.condition = (self.port == "DVI") +self.condition = (self.port == "DVI" and self.mode in ["720p", "1080i"]) @@ -87,7 +87,7 @@ self.rateSelect("60Hz") -self.condition = (self.port == "DVI") +self.condition = (self.port == "DVI" and self.mode in ["720p", "1080i"]) @@ -102,7 +102,7 @@ self["rc"].startMoving() -self.condition = (self.port == "DVI") +self.condition = (self.port == "DVI" and self.mode in ["720p", "1080i"]) @@ -117,6 +117,11 @@ self.rateSelect("50Hz") + +self.hw.saveMode(self.port, self.mode, self.rate) +from Components.config import configfile +configfile.save() +