diff --git a/not1mm/plugins/arrl_ss_cw.py b/not1mm/plugins/arrl_ss_cw.py index b2fb6ab..426a9e6 100644 --- a/not1mm/plugins/arrl_ss_cw.py +++ b/not1mm/plugins/arrl_ss_cw.py @@ -134,6 +134,16 @@ def prefill(self): field.setText(serial_nr) +def check_call_history(self): + """""" + result = self.database.fetch_call_history(self.callsign.text()) + print(f"{result=}") + if result: + self.history_info.setText(f"{result.get('UserText','')}") + if self.other_2.text() == "": + self.other_2.setText(f" {result.get('CK','')}{result.get('Sect', '')}") + + def points(self): """Calc point""" return 2