[chirp_devel] [PATCH] Prevent memory editor from always loading last memory in memory range twice. Fixes #9401

Kosta A.
Tue Sep 28 23:59:14 PDT 2021


# HG changeset patch
# User Kosta A. <ve7kcy at gmail.com>
# Date 1632898724 25200
#      Tue Sep 28 23:58:44 2021 -0700
# Branch misc
# Node ID b63e73d64098798c1bcbb17ea98a5c11c962a20a
# Parent  d156d3a46b7e6cbce985dc14186f0e07b5d3016b
Prevent memory editor from always loading last memory in memory range twice. Fixes #9401

diff --git a/chirp/ui/memedit.py b/chirp/ui/memedit.py
--- a/chirp/ui/memedit.py
+++ b/chirp/ui/memedit.py
@@ -1390,7 +1390,7 @@
 
         # Run low priority jobs to get the rest of the memories
         hi = int(self.hi_limit_adj.get_value())
-        for i in range(hi, max+1):
+        for i in range(hi+1, max+1):
             job = common.RadioJob(None, "get_memory", i)
             job.set_desc(_("Getting memory {number}").format(number=i))
             self.rthread.submit(job, 10)



More information about the chirp_devel mailing list