mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
Added missing change registration when setting the device index in the sampling device control
This commit is contained in:
parent
31c7ebf36c
commit
7650d11486
@ -62,11 +62,13 @@ void SamplingDeviceControl::setSelectedDeviceIndex(int index)
|
||||
if (m_rxElseTx)
|
||||
{
|
||||
PluginInterface::SamplingDevice samplingDevice = DeviceEnumerator::instance()->getRxSamplingDevice(index);
|
||||
DeviceEnumerator::instance()->changeRxSelection(m_deviceTabIndex, index);
|
||||
ui->deviceSelectedText->setText(samplingDevice.displayedName);
|
||||
}
|
||||
else
|
||||
{
|
||||
PluginInterface::SamplingDevice samplingDevice = DeviceEnumerator::instance()->getTxSamplingDevice(index);
|
||||
DeviceEnumerator::instance()->changeTxSelection(m_deviceTabIndex, index);
|
||||
ui->deviceSelectedText->setText(samplingDevice.displayedName);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user