aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-06-26 22:48:52 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-06-26 22:48:52 +0000
commit0383b38c654919cf8a1c08e44795804d98568923 (patch)
tree03be4043694cc9b1461d5a121d68050636daab51 /lib/python/Components
parentc9b2cba8e2fc9296b9e02076dc3b34df743bccfb (diff)
downloadenigma2-0383b38c654919cf8a1c08e44795804d98568923.tar.gz
enigma2-0383b38c654919cf8a1c08e44795804d98568923.zip
small fix
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/NimManager.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index a4bcb80b..92ef9dea 100644
--- a/lib/python/Components/NimManager.py
+++ b/lib/python/Components/NimManager.py
@@ -660,6 +660,8 @@ def InitNimManager(nimmgr):
nimmgr.nimPortCChanged(slotid, configElement.vals[configElement.value][1])
def nimPortDChanged(slotid, configElement):
nimmgr.nimPortDChanged(slotid, configElement.vals[configElement.value][1])
+ def terrestrial_5v_changed(configElement):
+ configElement.save()
for slot in nimmgr.nimslots:
x = slot.slotid
@@ -777,7 +779,10 @@ def InitNimManager(nimmgr):
if have_terrestrial_tuner:
config.terrestrial.enable_5V = configElement("config.terrestrial.enable_5V", configSelection, 1, (("yes", _("Yes")), ("no", _("No"))), True);
+ config.terrestrial.enable_5V.addNotifier(terrestrial_5v_changed)
nimmgr.sec = SecConfigure(nimmgr)
+
+
nimmanager = NimManager()