# HG changeset patch # User Marco Filippi iz3gme.marco@gmail.com # Date 1338198564 -7200 # Node ID d66b50e0df7dcfb834fcb85759dcbf1a16e0f9dd # Parent 3b5f838c2673c3c055e6ddce0c8c87bbeae2e063 Make UI hide the correct field if has_rx_dtcs needed to follow improvement from Feature #100
diff --git a/chirpui/memedit.py b/chirpui/memedit.py --- a/chirpui/memedit.py +++ b/chirpui/memedit.py @@ -219,8 +219,10 @@ self.col(_("DTCS Rx Code")), self.col(_("DTCS Pol"))] elif tmode == "DTCS": + if self._features.has_rx_dtcs: + hide += [self.col(_("DTCS Code"))] + hide += [self.col(_("Tone")), - self.col(_("DTCS Rx Code")), self.col(_("ToneSql"))] elif tmode == "" or tmode == "(None)": hide += [self.col(_("Tone")),