From: Andreas Monzner Date: Mon, 26 Jun 2006 22:48:52 +0000 (+0000) Subject: small fix X-Git-Tag: 2.6.0~3254 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/0383b38c654919cf8a1c08e44795804d98568923?hp=c9b2cba8e2fc9296b9e02076dc3b34df743bccfb small fix --- 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()