mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-15 16:42:12 -05:00
Force Tune=OFF when exiting the txTune window.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@3651 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
21f3a4207a
commit
661265ae0f
@ -1,4 +1,4 @@
|
|||||||
//--------------------------------------------------------------- MainWindow
|
//---------------------------------------------------------------- MainWindow
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "ui_mainwindow.h"
|
#include "ui_mainwindow.h"
|
||||||
#include "devsetup.h"
|
#include "devsetup.h"
|
||||||
|
@ -21,11 +21,13 @@ TxTune::~TxTune()
|
|||||||
|
|
||||||
void TxTune::accept()
|
void TxTune::accept()
|
||||||
{
|
{
|
||||||
|
if(bTune) on_pbTune_clicked();
|
||||||
QDialog::accept();
|
QDialog::accept();
|
||||||
}
|
}
|
||||||
|
|
||||||
void TxTune::reject()
|
void TxTune::reject()
|
||||||
{
|
{
|
||||||
|
if(bTune) on_pbTune_clicked();
|
||||||
set_iqAmp(m_saveAmp);
|
set_iqAmp(m_saveAmp);
|
||||||
set_iqPhase(m_savePha);
|
set_iqPhase(m_savePha);
|
||||||
set_txPower(m_saveTxPower);
|
set_txPower(m_saveTxPower);
|
||||||
|
Loading…
Reference in New Issue
Block a user