Small fix for list order in tray upload speed limit submenu
This commit is contained in:
parent
652639540f
commit
820d427a61
|
@ -207,7 +207,7 @@ class DelugeGTK:
|
||||||
self.submenu_bwdownset.append(subitem)
|
self.submenu_bwdownset.append(subitem)
|
||||||
|
|
||||||
group = None
|
group = None
|
||||||
for value in self.config.get("tray_uploadspeedlist"):
|
for value in sorted(self.config.get("tray_uploadspeedlist")):
|
||||||
subitem = gtk.RadioMenuItem(group, str(value) + " " + _("KiB/s"))
|
subitem = gtk.RadioMenuItem(group, str(value) + " " + _("KiB/s"))
|
||||||
group = subitem
|
group = subitem
|
||||||
if value == self.config.get("max_upload_rate"):
|
if value == self.config.get("max_upload_rate"):
|
||||||
|
|
Loading…
Reference in New Issue