[chirp_devel] [PATCH 1 of 1] [ui] Show "No com port" if there are no serial port at all
Marco Filippi IZ3GME
Wed Sep 25 06:42:22 PDT 2013
# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1380116518 -7200
# Node ID 6ef322950bd884fa4148386eb94771b14fb641a1
# Parent 6d5e9775f91f6f3b45a43c9f9449cf7a57d81386
[ui] Show "No com port" if there are no serial port at all
Fix #1131
diff --git a/chirpui/clone.py b/chirpui/clone.py
--- a/chirpui/clone.py
+++ b/chirpui/clone.py
@@ -120,7 +120,7 @@
self.__table.set_col_spacings(10)
self.__row = 0
- self.__port = self.__make_port(settings and settings.port or None)
+ self.__port = self.__make_port(settings and settings.port or ["No port detected"])
self.__modl = self.__make_model()
self.__vend = self.__make_vendor(self.__modl)
More information about the chirp_devel
mailing list