[chirp_devel] [PATCH 3 of 3] [memedit] Offset value must be positive
Marco Filippi IZ3GME
Thu Sep 26 02:48:06 PDT 2013
# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1380188391 -7200
# Node ID 675f169203098f2bc7794342aa8e62062a689a5d
# Parent 7d9d327bda6acf332dc92eb4fe52f18e48c37ad2
[memedit] Offset value must be positive
Noticed while implementing #1149
diff --git a/chirpui/memedit.py b/chirpui/memedit.py
--- a/chirpui/memedit.py
+++ b/chirpui/memedit.py
@@ -120,7 +120,8 @@
return self.rthread.radio.filter_name(new)
def ed_offset(self, _, path, new, __):
- return chirp_common.parse_freq(new)
+ new = chirp_common.parse_freq(new)
+ return abs(new)
def ed_freq(self, _foo, path, new, colnum):
iter = self.store.get_iter(path)
More information about the chirp_devel
mailing list