mirror of
https://github.com/kk7ds/chirp.git
synced 2024-09-22 02:57:20 +00:00
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:
parent
1dd233adc6
commit
6fa8a3af9f
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user