[chirp_devel] [PATCH] Fix MemoryMapping bug that caused only the last-defined bank editor to load. #741

Tom Hayward
Thu Sep 22 22:27:18 PDT 2016


# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1474608412 25200
#      Thu Sep 22 22:26:52 2016 -0700
# Node ID 0d9240704a4ad348e7400f089d45b1c6b86d720d
# Parent  3e267381f95348fd5163167dcb2249f51a975a4b
Fix MemoryMapping bug that caused only the last-defined bank editor to load. #741

diff -r 3e267381f953 -r 0d9240704a4a chirp/ui/editorset.py
--- a/chirp/ui/editorset.py	Thu Sep 22 22:26:50 2016 -0700
+++ b/chirp/ui/editorset.py	Thu Sep 22 22:26:52 2016 -0700
@@ -70,6 +70,7 @@
                 members.connect("changed", lambda x: names.mappings_changed())
                 names.connect("changed", lambda x: members.mappings_changed())
                 names.connect("changed", self.editor_changed)
+            sub_index += 1
 
     def _make_device_editors(self, device, devrthread, index):
         if isinstance(device, chirp_common.IcomDstarSupport):



More information about the chirp_devel mailing list