Fix failure to set tone value when smart tones is disabled

This silly bug has apparently been present since smart tones was added,
and is just a mind-o, forgetting to return the unchanged value if we
bail because the feature is disabled.

Fixes #635
This commit is contained in:
Dan Smith 2013-04-09 17:24:06 -07:00
parent 1dd233adc6
commit 6fa8a3af9f

View File

@ -219,7 +219,7 @@ class MemoryEditor(common.Editor):
def ed_tone_field(self, _foo, path, new, col):
if self._config.get_bool("no_smart_tmode"):
return
return new
iter = self.store.get_iter(path)