mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-31 13:52:27 -04:00
Corrected logic that sets Tx msg# when double-clicking callsign in
a "CQ" message. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@1719 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
b8e09b7c2d
commit
e2a3a1b2b7
7
map65.py
7
map65.py
@ -297,8 +297,8 @@ def dbl_click_call(t,t1,rpt,nbox,event):
|
|||||||
if hiscall[:1]=='*': hiscall=hiscall[1:]
|
if hiscall[:1]=='*': hiscall=hiscall[1:]
|
||||||
if worked.has_key(hiscall.strip()):
|
if worked.has_key(hiscall.strip()):
|
||||||
# MsgBox("Possible dupe: " + hiscall)
|
# MsgBox("Possible dupe: " + hiscall)
|
||||||
t="Possible dupe: " + hiscall
|
t3="Possible dupe: " + hiscall
|
||||||
msg=Pmw.MessageDialog(root,buttons=('OK','Cancel'),message_text=t)
|
msg=Pmw.MessageDialog(root,buttons=('OK','Cancel'),message_text=t3)
|
||||||
msg.geometry(msgpos())
|
msg.geometry(msgpos())
|
||||||
if g.Win32: msg.iconbitmap("wsjt.ico")
|
if g.Win32: msg.iconbitmap("wsjt.ico")
|
||||||
msg.focus_set()
|
msg.focus_set()
|
||||||
@ -331,6 +331,9 @@ def dbl_click_call(t,t1,rpt,nbox,event):
|
|||||||
tx5.delete(0,END)
|
tx5.delete(0,END)
|
||||||
tx5.insert(0,t2+"73")
|
tx5.insert(0,t2+"73")
|
||||||
i3=t[:i1].strip().rfind(' ')+1
|
i3=t[:i1].strip().rfind(' ')+1
|
||||||
|
print 'A ',t
|
||||||
|
print 'B',i3,i1,t[i3:i1]
|
||||||
|
print 'C ',t[i3:i1].strip()
|
||||||
if t[i3:i1].strip() == 'CQ' or nbox >= 2:
|
if t[i3:i1].strip() == 'CQ' or nbox >= 2:
|
||||||
ntx.set(1)
|
ntx.set(1)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user