diff --git a/sdrgui/gui/basicchannelsettingsdialog.cpp b/sdrgui/gui/basicchannelsettingsdialog.cpp index 2911b52f6..084c4ee62 100644 --- a/sdrgui/gui/basicchannelsettingsdialog.cpp +++ b/sdrgui/gui/basicchannelsettingsdialog.cpp @@ -91,12 +91,12 @@ void BasicChannelSettingsDialog::on_reverseAPI_toggled(bool checked) m_useReverseAPI = checked; } -void BasicChannelSettingsDialog::on_reverseAPIAddress_returnPressed() +void BasicChannelSettingsDialog::on_reverseAPIAddress_editingFinished() { m_reverseAPIAddress = ui->reverseAPIAddress->text(); } -void BasicChannelSettingsDialog::on_reverseAPIPort_returnPressed() +void BasicChannelSettingsDialog::on_reverseAPIPort_editingFinished() { bool dataOk; int reverseAPIPort = ui->reverseAPIPort->text().toInt(&dataOk); @@ -108,7 +108,7 @@ void BasicChannelSettingsDialog::on_reverseAPIPort_returnPressed() } } -void BasicChannelSettingsDialog::on_reverseAPIDeviceIndex_returnPressed() +void BasicChannelSettingsDialog::on_reverseAPIDeviceIndex_editingFinished() { bool dataOk; int reverseAPIDeviceIndex = ui->reverseAPIDeviceIndex->text().toInt(&dataOk); @@ -120,7 +120,7 @@ void BasicChannelSettingsDialog::on_reverseAPIDeviceIndex_returnPressed() } } -void BasicChannelSettingsDialog::on_reverseAPIChannelIndex_returnPressed() +void BasicChannelSettingsDialog::on_reverseAPIChannelIndex_editingFinished() { bool dataOk; int reverseAPIChannelIndex = ui->reverseAPIChannelIndex->text().toInt(&dataOk); diff --git a/sdrgui/gui/basicchannelsettingsdialog.h b/sdrgui/gui/basicchannelsettingsdialog.h index 0b7fcb448..ffe8c7d36 100644 --- a/sdrgui/gui/basicchannelsettingsdialog.h +++ b/sdrgui/gui/basicchannelsettingsdialog.h @@ -33,10 +33,10 @@ public: private slots: void on_colorBtn_clicked(); void on_reverseAPI_toggled(bool checked); - void on_reverseAPIAddress_returnPressed(); - void on_reverseAPIPort_returnPressed(); - void on_reverseAPIDeviceIndex_returnPressed(); - void on_reverseAPIChannelIndex_returnPressed(); + void on_reverseAPIAddress_editingFinished(); + void on_reverseAPIPort_editingFinished(); + void on_reverseAPIDeviceIndex_editingFinished(); + void on_reverseAPIChannelIndex_editingFinished(); void accept(); private: diff --git a/sdrgui/gui/basicdevicesettingsdialog.cpp b/sdrgui/gui/basicdevicesettingsdialog.cpp index 6970e5b98..8b2fa6b52 100644 --- a/sdrgui/gui/basicdevicesettingsdialog.cpp +++ b/sdrgui/gui/basicdevicesettingsdialog.cpp @@ -52,12 +52,12 @@ void BasicDeviceSettingsDialog::on_reverseAPI_toggled(bool checked) m_useReverseAPI = checked; } -void BasicDeviceSettingsDialog::on_reverseAPIAddress_returnPressed() +void BasicDeviceSettingsDialog::on_reverseAPIAddress_editingFinished() { m_reverseAPIAddress = ui->reverseAPIAddress->text(); } -void BasicDeviceSettingsDialog::on_reverseAPIPort_returnPressed() +void BasicDeviceSettingsDialog::on_reverseAPIPort_editingFinished() { bool dataOk; int reverseAPIPort = ui->reverseAPIPort->text().toInt(&dataOk); @@ -69,7 +69,7 @@ void BasicDeviceSettingsDialog::on_reverseAPIPort_returnPressed() } } -void BasicDeviceSettingsDialog::on_reverseAPIDeviceIndex_returnPressed() +void BasicDeviceSettingsDialog::on_reverseAPIDeviceIndex_editingFinished() { bool dataOk; int reverseAPIDeviceIndex = ui->reverseAPIDeviceIndex->text().toInt(&dataOk); diff --git a/sdrgui/gui/basicdevicesettingsdialog.h b/sdrgui/gui/basicdevicesettingsdialog.h index 7b81a4e56..1bd885a83 100644 --- a/sdrgui/gui/basicdevicesettingsdialog.h +++ b/sdrgui/gui/basicdevicesettingsdialog.h @@ -28,9 +28,9 @@ public: private slots: void on_reverseAPI_toggled(bool checked); - void on_reverseAPIAddress_returnPressed(); - void on_reverseAPIPort_returnPressed(); - void on_reverseAPIDeviceIndex_returnPressed(); + void on_reverseAPIAddress_editingFinished(); + void on_reverseAPIPort_editingFinished(); + void on_reverseAPIDeviceIndex_editingFinished(); void accept(); private: