Don't write to wsjtx_status.txt after the CAT freq read, unless freq

has changed!


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3188 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2013-04-16 21:28:25 +00:00
parent f6b63c7e83
commit 76fb08b951
2 changed files with 3 additions and 2 deletions

View File

@ -1377,7 +1377,8 @@ void MainWindow::readFromP3() //readFromP3
QByteArray t=p3.readAllStandardOutput(); QByteArray t=p3.readAllStandardOutput();
QString s=t; QString s=t;
double fMHz=s.toDouble()/1000000.0; double fMHz=s.toDouble()/1000000.0;
dialFreqChanged2(fMHz); int ndiff=1000000.0*(fMHz-m_dialFreq);
if(ndiff!=0) dialFreqChanged2(fMHz);
} }
void MainWindow::killFile() void MainWindow::killFile()

View File

@ -1,6 +1,6 @@
[Setup] [Setup]
AppName=wsjtx AppName=wsjtx
AppVerName=wsjtx Version 0.9 r3166 AppVerName=wsjtx Version 0.9 r3187
AppCopyright=Copyright (C) 2001-2013 by Joe Taylor, K1JT AppCopyright=Copyright (C) 2001-2013 by Joe Taylor, K1JT
DefaultDirName=c:\wsjtx DefaultDirName=c:\wsjtx
DefaultGroupName=wsjtx DefaultGroupName=wsjtx