kopia lustrzana https://github.com/ctjacobs/pyqso
Show an error message if the callsign field is empty.
rodzic
21d5dd21ef
commit
7835dc1ff6
|
@ -425,6 +425,7 @@ class RecordDialog:
|
|||
full_callsign = self.sources["CALL"].get_text()
|
||||
if(not full_callsign):
|
||||
# Empty callsign field.
|
||||
error(parent=self.dialog, message="Please enter a callsign to lookup.")
|
||||
return
|
||||
|
||||
# Check whether we want to ignore any prefixes (e.g. "IA/") or suffixes "(e.g. "/M") in the callsign
|
||||
|
|
Ładowanie…
Reference in New Issue