# HG changeset patch # User Marco Filippi iz3gme.marco@gmail.com # Date 1454661785 -3600 # Fri Feb 05 09:43:05 2016 +0100 # Node ID 1851855559a425bfd91f0ca6809e95a619d63e9c # Parent 93e725a0c16e8a445a92e207396444ba702e5ae1 [FT8x7] Allow pasting memories to special channels
The check for immutable fields prevents pasting from any memories to special channels. We can avoid check for extd_number field, this allow the paste operation from (eg.) CSV
Fix #3281
diff --git a/chirp/drivers/ft817.py b/chirp/drivers/ft817.py --- a/chirp/drivers/ft817.py +++ b/chirp/drivers/ft817.py @@ -581,8 +581,9 @@ "unknown you hit a bug!!")
for key in cur_mem.immutable: - if cur_mem.__dict__[key] != mem.__dict__[key]: - raise errors.RadioError("Editing field `%s' " % key + + if key != "extd_number": + if cur_mem.__dict__[key] != mem.__dict__[key]: + raise errors.RadioError("Editing field `%s' " % key + "is not supported on this channel")
self._set_memory(mem, _mem)