Corrected double-click3 (callsign selection, with setting Tx sequence).

Maybe I finally got it right, this time?


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@567 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2007-10-26 14:00:32 +00:00
parent 515c930c14
commit 2c884bb4f9

View File

@ -289,15 +289,14 @@ def dbl_click_call(t,t1,rpt,nbox,event):
ToRadio.delete(0,END) ToRadio.delete(0,END)
ToRadio.insert(0,hiscall) ToRadio.insert(0,hiscall)
i3=t1.rfind('\n')+1 #start of selected line i3=t1.rfind('\n')+1 #start of selected line
if i>6 and i2>i1: if i>=4 and i2>i1:
nsec=0
try: try:
if nbox==2: nsec=3600*int(t1[i3+13:i3+15]) + 60*int(t1[i3+15:i3+17])
nsec=3600*int(t1[i3+2:i3+4]) + 60*int(t1[i3+4:i3+6])
elif nbox==1:
nsec=3600*int(t1[i3+13:i3+15]) + 60*int(t1[i3+15:i3+17])
except: except:
nsec=0 pass
if setseq.get() and nbox!=3: TxFirst.set((nsec/int(Audio.gcom1.trperiod))%2) if setseq.get() and nbox!=3:
TxFirst.set((nsec/int(Audio.gcom1.trperiod))%2)
lookup() lookup()
GenStdMsgs() GenStdMsgs()
if rpt <> "OOO": if rpt <> "OOO":