mbridak / not1mm

Not1MM != N1MM, An amateur radio contest logger for Linux.
GNU General Public License v3.0
101 stars 24 forks source link

Portable stations have somtimes invalid[?] calls /P and same with /0...9 #174

Open awandahl opened 12 hours ago

awandahl commented 12 hours ago

Describe the bug Sometimes I can't work portable stations like DF4SR/P and same with other calls with slash /

To Reproduce Steps to reproduce the behavior:

  1. Enter a call /P and try to work that station
  2. Can't work that one
  3. Remove /P and it's fine to work
  4. Add the /P again it doesn't work
  5. But not always....

Expected behavior Possibility to work /P or /0...9 stations

mbridak commented 9 hours ago

Hmm probably due to this line:

elif (len(self.callsign.text()) > 2 and self.callsign.text().isalnum()):

which would return False if the string contains a '/' character.

Fix on the way.

mbridak commented 8 hours ago

Pushed fix.