Fix showing the other speed dialog in the StatusBar pop-up menus.
This commit is contained in:
parent
b87f68fcb6
commit
4c987aed06
@ -342,7 +342,7 @@ class StatusBar(component.Component):
|
|||||||
value = -1
|
value = -1
|
||||||
|
|
||||||
if value == _("Other..."):
|
if value == _("Other..."):
|
||||||
value = deluge.common.show_other_speed_dialog(
|
value = deluge.common.show_other_dialog(
|
||||||
_("Download Speed (KiB/s):"), self.max_download_speed)
|
_("Download Speed (KiB/s):"), self.max_download_speed)
|
||||||
if value == None:
|
if value == None:
|
||||||
return
|
return
|
||||||
@ -371,7 +371,7 @@ class StatusBar(component.Component):
|
|||||||
value = -1
|
value = -1
|
||||||
|
|
||||||
if value == _("Other..."):
|
if value == _("Other..."):
|
||||||
value = deluge.common.show_other_speed_dialog(
|
value = deluge.common.show_other_dialog(
|
||||||
_("Upload Speed (KiB/s):"), self.max_upload_speed)
|
_("Upload Speed (KiB/s):"), self.max_upload_speed)
|
||||||
if value == None:
|
if value == None:
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user