[chirp_devel] [PATCH] Prevent memory for last memory being twice
Kosta A.
Sun Sep 26 20:48:47 PDT 2021
# HG changeset patch
# User Kosta A. <ve7kcy at gmail.com>
# Date 1632714516 25200
# Sun Sep 26 20:48:36 2021 -0700
# Node ID d3727332f2854d76d0e863c150ac36a5e776c9af
# Parent 5aa2294d78ea241c6573dcf1929475b072e73685
Prevent memory for last memory being twice.
diff --git a/chirp/ui/memedit.py b/chirp/ui/memedit.py
--- a/chirp/ui/memedit.py
+++ b/chirp/ui/memedit.py
@@ -1394,7 +1394,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