diff --git a/mainwindow.cpp b/mainwindow.cpp index 6cca43788..50f82d6c2 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,4 +1,4 @@ -//--------------------------------------------------------------- MainWindow +//---------------------------------------------------------------- MainWindow #include "mainwindow.h" #include "ui_mainwindow.h" #include "devsetup.h" diff --git a/txtune.cpp b/txtune.cpp index 43bf969e8..a6b1fdb84 100644 --- a/txtune.cpp +++ b/txtune.cpp @@ -21,11 +21,13 @@ TxTune::~TxTune() void TxTune::accept() { + if(bTune) on_pbTune_clicked(); QDialog::accept(); } void TxTune::reject() { + if(bTune) on_pbTune_clicked(); set_iqAmp(m_saveAmp); set_iqPhase(m_savePha); set_txPower(m_saveTxPower);