mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-17 09:31:59 -05:00
Decode command ignored (with yellow warning) after t=45s when monitoring.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@2451 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
10a621ee06
commit
4f7255aafa
8
map65.py
8
map65.py
@ -95,6 +95,7 @@ nosh441=IntVar()
|
||||
noshjt65=IntVar()
|
||||
setseq=IntVar()
|
||||
tx6alt=""
|
||||
txminute=0
|
||||
txsnrdb=99.
|
||||
TxFirst=IntVar()
|
||||
worked={}
|
||||
@ -348,6 +349,11 @@ def textkey(event=NONE):
|
||||
#------------------------------------------------------ decode
|
||||
def decode(event=NONE):
|
||||
if Audio.gcom2.ndecoding==0: #If already busy, ignore request
|
||||
if isec0>=45 and txminute==0 and Audio.gcom2.monitoring==1 and \
|
||||
Audio.datcom.kkdone!=-99 and Audio.gcom2.ndiskdat!=1:
|
||||
bc='yellow'
|
||||
bdecode.configure(bg=bc,activebackground=bc,state=DISABLED)
|
||||
else:
|
||||
Audio.gcom2.nagain=1
|
||||
n=1
|
||||
Audio.gcom2.mousebutton=0
|
||||
@ -982,7 +988,7 @@ def GenAltMsgs(event=NONE):
|
||||
def update():
|
||||
global root_geom,isec0,naz,nel,ndmiles,ndkm,nopen,kxp0, \
|
||||
im,pim,cmap0,isync,isync_save,idsec,first,itol,txsnrdb,tx6alt,\
|
||||
bm_geom,bm2_geom,hisgrid0,fqso0,isec00,worked
|
||||
bm_geom,bm2_geom,hisgrid0,fqso0,isec00,worked,txminute
|
||||
|
||||
utc=time.gmtime(time.time()+0.1*idsec)
|
||||
isec=utc[5]
|
||||
|
Loading…
Reference in New Issue
Block a user