Save m_pttPort when its comboBox is changed, so that the "Test PTT"

button can act accordingly.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3253 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2013-05-03 00:04:44 +00:00
parent e4b24610e0
commit c9294eb9d6
3 changed files with 8 additions and 1 deletions

View File

@ -495,3 +495,8 @@ void DevSetup::on_pollSpinBox_valueChanged(int n)
{ {
m_poll=n; m_poll=n;
} }
void DevSetup::on_pttComboBox_currentIndexChanged(int index)
{
m_pttPort=index;
}

View File

@ -88,6 +88,8 @@ private slots:
void on_rbData_toggled(bool checked); void on_rbData_toggled(bool checked);
void on_pollSpinBox_valueChanged(int n); void on_pollSpinBox_valueChanged(int n);
void on_pttComboBox_currentIndexChanged(int index);
private: private:
Rig* rig; Rig* rig;
void msgBox(QString t); void msgBox(QString t);

View File

@ -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"