diff --git a/devsetup.cpp b/devsetup.cpp index c50641a63..b2a9bd961 100644 --- a/devsetup.cpp +++ b/devsetup.cpp @@ -495,3 +495,8 @@ void DevSetup::on_pollSpinBox_valueChanged(int n) { m_poll=n; } + +void DevSetup::on_pttComboBox_currentIndexChanged(int index) +{ + m_pttPort=index; +} diff --git a/devsetup.h b/devsetup.h index bc0659d83..9672fbae2 100644 --- a/devsetup.h +++ b/devsetup.h @@ -88,6 +88,8 @@ private slots: void on_rbData_toggled(bool checked); void on_pollSpinBox_valueChanged(int n); + void on_pttComboBox_currentIndexChanged(int index); + private: Rig* rig; void msgBox(QString t); diff --git a/mainwindow.cpp b/mainwindow.cpp index 799e027b5..983cb398d 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,4 +1,4 @@ -//--------------------------------------------------------------- MainWindow +//-------------------------------------------------------------- MainWindow #include "mainwindow.h" #include "ui_mainwindow.h" #include "devsetup.h"