Skip to content

Commit df0c9f9

Browse files
MrServoHains
authored andcommitted
[LCD4linux] V5.0-r31 tiny bugfix and improvement
- bugfixed syntax error - config list can now be folded in and out even after changes via the OK button (via ConfigListScreen.keyOK)
1 parent e13d88f commit df0c9f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lcd4linux/src/plugin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7930,7 +7930,7 @@ def keyOK(self):
79307930
elif sel in [LCD4linux.MPBildFile, LCD4linux.MPBild2File, LCD4linux.StandbyBildFile, LCD4linux.StandbyBild2File, LCD4linux.StandbyBild3File, LCD4linux.StandbyBild4File, LCD4linux.StandbyBild5File, LCD4linux.StandbyBild6File, LCD4linux.StandbyTextFile, LCD4linux.StandbyText2File, LCD4linux.StandbyText3File]:
79317931
L4log("select File 4")
79327932
self.session.openWithCallback(self.fileSelected, LCDdisplayFile, text=_("Choose file"), FileName=self["config"].getCurrent()[1].value, showFiles=True)
7933-
elif sel in [LCD4linux.Background1Bild, LCD4linux.LCD4linux.MPBackground1Bild, LCD4linux.StandbyBackground1Bild]:
7933+
elif sel in [LCD4linux.Background1Bild, LCD4linux.MPBackground1Bild, LCD4linux.StandbyBackground1Bild]:
79347934
L4log("select File 5")
79357935
self.session.openWithCallback(self.fileSelected, LCDdisplayFile, text=_("Choose file"), FileName=self["config"].getCurrent()[1].value, showFiles=True)
79367936
except Exception as err:
@@ -8177,6 +8177,7 @@ def selectionChanged(self):
81778177
L4log("removed old Skindata")
81788178
xmlWrite()
81798179
xmlClear()
8180+
self.SetList()
81808181

81818182
def getCurrentValue(self):
81828183
return str(self["config"].getCurrent()[1].getText())

0 commit comments

Comments
 (0)