Skip to content

Commit

Permalink
Fixed bug where a station QSYing before confirmation of a logged
Browse files Browse the repository at this point in the history
QSO gave an incorrect log entry access.
  • Loading branch information
w9cf committed Dec 29, 2022
1 parent a1a8885 commit f7481dd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions python/cwsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,17 @@ def lastQsoslot(self):
return
self._lastQso = [None,None,None]
self._lastLog = [None,None,None]
# find last good QSO in log
r = self.logTable.rowCount()-1
while r >= 0:
if self.logTable.item(r,5) is None:
r -= 1
continue
elif self.logTable.item(r,5).text() == "QSY":
r -= 1
continue
else:
break
if chk == "":
if trueCall in self._goodCalls:
self.logTable.item(r,5).setText("Dupe")
Expand Down

0 comments on commit f7481dd

Please sign in to comment.