[chirp_devel] [PATCH] Fix bug caused by style fix (#2355)

Zach Welch
Tue Mar 3 21:32:56 PST 2015


# HG changeset patch
# User Zach Welch <zach at mandolincreekfarm.com>
# Fake Node ID 9ef52a090acda720eafb0fca678da908e251b637

Fix bug caused by style fix (#2355)

I introduced a minor typo during my cleanup.  Thanks to Richard Cochran
for reporting the mistake.

diff --git a/chirp/ui/memedit.py b/chirp/ui/memedit.py
index 4834cce..5eb0f99 100644
--- a/chirp/ui/memedit.py
+++ b/chirp/ui/memedit.py
@@ -356,7 +356,7 @@ class MemoryEditor(common.Editor):
             _("Cross Mode"): self.ed_tone_field,
             }
 
-        if cap in func:
+        if cap in funcs:
             new = funcs[cap](rend, path, new, colnum)
 
         if new is None:




More information about the chirp_devel mailing list