Update xbmc_config_menu.py
This commit is contained in:
@@ -412,8 +412,12 @@ class SettingsWindow(xbmcgui.WindowXMLDialog):
|
|||||||
self.addControl(control)
|
self.addControl(control)
|
||||||
|
|
||||||
control.setVisible(False)
|
control.setVisible(False)
|
||||||
control.setLabel(c["label"])
|
# frodo fix
|
||||||
control.setText(self.values[c["id"]])
|
s = self.values[c["id"]]
|
||||||
|
if s is None:
|
||||||
|
s = ''
|
||||||
|
control.setText(s)
|
||||||
|
# control.setText(self.values[c["id"]])
|
||||||
control.setWidth(self.controls_width - 5)
|
control.setWidth(self.controls_width - 5)
|
||||||
control.setHeight(self.height_control)
|
control.setHeight(self.height_control)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user