1
0
mirror of https://github.com/naruxde/revpipycontrol.git synced 2025-11-08 15:43:52 +01:00

Programme auf RevPi sortiert anzeigen

This commit is contained in:
2018-09-03 12:20:18 +02:00
parent f2dd6416ea
commit 220de03774

View File

@@ -190,8 +190,11 @@ class RevPiOption(tkinter.Frame):
# Row 3 # Row 3
lst = self.xmlcli.get_filelist() lst = self.xmlcli.get_filelist()
lst.sort()
if len(lst) == 0: if len(lst) == 0:
lst.append("none") lst.append("none")
if ".placeholder" in lst:
lst.remove(".placeholder")
opt_startpy = tkinter.OptionMenu( opt_startpy = tkinter.OptionMenu(
prog, self.var_startpy, *lst prog, self.var_startpy, *lst
) )