Fix error in last commit.

This commit is contained in:
Chase Sterling 2010-08-26 02:33:24 -04:00
parent 24fe3f7fd5
commit f6b9f67df8
1 changed files with 1 additions and 2 deletions

View File

@ -391,8 +391,7 @@ class PreferencesManager(component.Component):
self.session_set_setting("connection_speed", value) self.session_set_setting("connection_speed", value)
def _on_ignore_limits_on_local_network(self, key, value): def _on_ignore_limits_on_local_network(self, key, value):
self.settings.ignore_limits_on_local_network = value self.session_set_setting("ignore_limits_on_local_network", value)
self.session.set_settings(self.settings)
def _on_set_share_ratio_limit(self, key, value): def _on_set_share_ratio_limit(self, key, value):
log.debug("%s set to %s..", key, value) log.debug("%s set to %s..", key, value)