mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 13:48:42 -05:00
Desable the "Set Rx Freq" button when transmitting.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@3602 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
89bc78fe54
commit
e34cbfead7
@ -1,4 +1,4 @@
|
||||
//------------------------------------------------------------- MainWindow
|
||||
//-------------------------------------------------------------- MainWindow
|
||||
#include "mainwindow.h"
|
||||
#include "ui_mainwindow.h"
|
||||
#include "devsetup.h"
|
||||
@ -1455,6 +1455,7 @@ void MainWindow::guiUpdate()
|
||||
soundInThread.setMonitoring(false);
|
||||
btxok=true;
|
||||
m_transmitting=true;
|
||||
g_pWideGraph->enableSetRxHardware(false);
|
||||
|
||||
QFile f("map65_tx.log");
|
||||
f.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append);
|
||||
@ -1473,6 +1474,7 @@ void MainWindow::guiUpdate()
|
||||
ptt_(&m_pttPort,&itx,&iptt); // Lower PTT
|
||||
if(!m_txMute) soundOutThread.quitExecution=true;
|
||||
m_transmitting=false;
|
||||
g_pWideGraph->enableSetRxHardware(true);
|
||||
if(m_auto) {
|
||||
m_monitoring=true;
|
||||
soundInThread.setMonitoring(m_monitoring);
|
||||
|
@ -387,3 +387,8 @@ void WideGraph::updateFreqLabel()
|
||||
QString t2=t.mid(0,12) + "." + t.mid(12,3);
|
||||
ui->labFreq->setText(t1 + "\n" + t2);
|
||||
}
|
||||
|
||||
void WideGraph::enableSetRxHardware(bool b)
|
||||
{
|
||||
ui->pbSetRxHardware->setEnabled(b);
|
||||
}
|
||||
|
@ -41,6 +41,7 @@ public:
|
||||
void rx570();
|
||||
void tx570();
|
||||
void updateFreqLabel();
|
||||
void enableSetRxHardware(bool b);
|
||||
|
||||
qint32 m_qsoFreq;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user