Skip to content

Commit

Permalink
v2024.1.26
Browse files Browse the repository at this point in the history
  • Loading branch information
giantpinkrobots committed Jan 26, 2024
1 parent 10df7bb commit 1d092c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/variamain.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ def show_preferences(self, app):
speed_limit_entry.connect('changed', self.speed_limit_text_filter)
speed_limit_entry.connect('apply', lambda clicked: self.on_speed_limit_changed(speed_limit_entry, speed_limit_unit_names_dropdown, speed_limit_expander_switch))

if ((self.appconf["download_speed_limit"] != "0K") and (self.appconf["download_speed_limit"] != "0M") and (self.appconf["download_speed_limit"] != "0G")):
if ((self.appconf["download_speed_limit"] != "0K") and (self.appconf["download_speed_limit"] != "0M") and (self.appconf["download_speed_limit"] != "0G") and (self.appconf["download_speed_limit"] != "0")):
speed_limit_expander_switch.set_sensitive(True)
match (self.appconf["download_speed_limit"][-1]):
case "K":
Expand Down

0 comments on commit 1d092c1

Please sign in to comment.