Fixed use of symspec with disk data; fixed Decode button disabling.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@451 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2007-06-30 20:22:12 +00:00
parent e0faa141b3
commit 0fef41a490
3 changed files with 6 additions and 4 deletions

View File

@ -19,6 +19,7 @@ subroutine decode1(iarg)
data sending0/' '/
save
kkdone=-99
ntr0=ntr
ns0=999999
@ -32,7 +33,7 @@ subroutine decode1(iarg)
newdat=1
endif
if(ndecoding.eq.0 .and. ((kk-kkdone).gt.32768)) &
if((ndiskdat.eq.1 .or. ndecoding.eq.0) .and. ((kk-kkdone).gt.32768)) &
call symspec(id,kbuf,kk,kkdone,nutc,t00,newdat)
if(ndecoding.gt.0 .and. mode(1:4).eq.'JT65') then

View File

@ -29,6 +29,7 @@ subroutine getfile2(fname,len)
ierr=0
n=8*NSMAX
ndecoding=4
monitoring=0
kbuf=1
#ifdef Win32
@ -50,7 +51,6 @@ subroutine getfile2(fname,len)
read(filename(8:11),*) nutc
ndiskdat=1
ndecoding=4
mousebutton=0
rxnoise=8.0
go to 999

View File

@ -1004,8 +1004,9 @@ def update():
t="QSO DF:%4d" % (int(Audio.gcom2.mousedf),)
msg4.configure(text=t)
if mode.get()[:4]=='JT65' and \
(Audio.gcom2.ndecoding or (isec>45 and Audio.gcom2.monitoring==1)):
if mode.get()[:4]=='JT65' and (Audio.gcom2.ndecoding>0 or \
(isec>45 and Audio.gcom2.monitoring==1 and \
Audio.datcom.kkdone!=-99 and Audio.gcom2.ndiskdat!=1)):
#Set button bg while decoding
bc='#66FFFF'