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

Tom Hayward
Fri Sep 16 16:23:39 PDT 2016


# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1474068138 25200
#      Fri Sep 16 16:22:18 2016 -0700
# Node ID be978830736869866b91da00826548ad563fa9eb
# Parent  45cfb92ddc164dbe01354f43cb68cd970c3eb6f3
Fix MemoryMapping bug that caused only the last-defined bank editor to load. #741

diff -r 45cfb92ddc16 -r be9788307368 chirp/ui/editorset.py
--- a/chirp/ui/editorset.py	Fri Sep 16 16:22:17 2016 -0700
+++ b/chirp/ui/editorset.py	Fri Sep 16 16:22:18 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