[chirp_devel] [PATCH] [UI] Ui should use radio valid_dtcs_code to build choices list

Marco Filippi IZ3GME
Sat Apr 27 02:56:11 PDT 2013


# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1367056484 -7200
# Node ID 1d08c82b082ea4f616fcfa1dde7e9c5811eead8f
# Parent  ceb5fd15b915c9c356636015e7faa3c2dc813289
[UI] Ui should use radio valid_dtcs_code to build choices list
Introduced working on #365

diff -r ceb5fd15b915 -r 1d08c82b082e chirpui/memedit.py
--- a/chirpui/memedit.py	ven apr 26 18:14:51 2013 +0200
+++ b/chirpui/memedit.py	sab apr 27 11:54:44 2013 +0200
@@ -1313,6 +1313,8 @@
         self.choices[_("Power")] = [str(x) for x in
                                     self._features["valid_power_levels"]]
         self.choices[_("DTCS Pol")] = self._features["valid_dtcs_pols"]
+        self.choices[_("DTCS Code")] = self._features["valid_dtcs_codes"]
+        self.choices[_("DTCS Rx Code")] = self._features["valid_dtcs_codes"]
 
         if self._features["valid_power_levels"]:
             self.defaults[_("Power")] = self._features["valid_power_levels"][0]



More information about the chirp_devel mailing list