git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dont show display contrast setting in display setup when a oled is detected
[enigma2.git]
/
lib
/
python
/
Screens
/
Setup.py
diff --git
a/lib/python/Screens/Setup.py
b/lib/python/Screens/Setup.py
index 1f262e32139ae207f1c380e102df2cce84f523a5..3439954dd0f9f24f573c6455c30be8743fec9f97 100644
(file)
--- a/
lib/python/Screens/Setup.py
+++ b/
lib/python/Screens/Setup.py
@@
-1,6
+1,6
@@
from Screen import Screen
from Components.ActionMap import NumberActionMap
from Screen import Screen
from Components.ActionMap import NumberActionMap
-from Components.config import config
+from Components.config import config
, ConfigNothing
from Components.ConfigList import ConfigListScreen
from Components.Label import Label
from Components.Pixmap import Pixmap
from Components.ConfigList import ConfigListScreen
from Components.Label import Label
from Components.Pixmap import Pixmap
@@
-138,7
+138,8
@@
class Setup(ConfigListScreen, Screen):
item = b
# the first b is the item itself, ignored by the configList.
# the second one is converted to string.
item = b
# the first b is the item itself, ignored by the configList.
# the second one is converted to string.
- list.append( (item_text, item) )
+ if not isinstance(item, ConfigNothing):
+ list.append( (item_text, item) )
def getSetupTitle(id):
xmldata = setupdom.childNodes[0].childNodes
def getSetupTitle(id):
xmldata = setupdom.childNodes[0].childNodes