Corrected a new bug in dbl_click_call().

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@1031 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2008-09-19 19:53:02 +00:00
parent 8d24dff9cf
commit 0daa5f57b6

View File

@ -303,6 +303,8 @@ def dbl_click_call(t,t1,rpt,nbox,event):
if g.Win32: msg.iconbitmap("wsjt.ico") if g.Win32: msg.iconbitmap("wsjt.ico")
msg.focus_set() msg.focus_set()
result=msg.activate() result=msg.activate()
else:
result='OK'
if result == 'OK': if result == 'OK':
ToRadio.delete(0,END) ToRadio.delete(0,END)
ToRadio.insert(0,hiscall) ToRadio.insert(0,hiscall)
@ -335,6 +337,7 @@ def dbl_click_call(t,t1,rpt,nbox,event):
ntx.set(2) ntx.set(2)
if event.num==3 and not lauto: toggleauto() if event.num==3 and not lauto: toggleauto()
#----------------------------------------------------------- textkey
def textkey(event=NONE): def textkey(event=NONE):
text.configure(state=DISABLED) text.configure(state=DISABLED)
def avetextkey(event=NONE): def avetextkey(event=NONE):