Skip to content

Commit

Permalink
Merge pull request #21 from SpudGunMan/fixtracking
Browse files Browse the repository at this point in the history
fixSelectedTracking
  • Loading branch information
mbridak authored Apr 15, 2024
2 parents f3becd5 + 291824b commit dcb538b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion potato.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ def showspots(self):
f"{i['comments']}"
)
self.listWidget.addItem(spot)
if spot[5:] == self.lastclicked[5:]:

if spot[5:35] == self.lastclicked[5:35]:
founditem = self.listWidget.findItems(
spot[5:],
QtCore.Qt.MatchFlag.MatchContains, # pylint: disable=no-member
Expand Down

0 comments on commit dcb538b

Please sign in to comment.