mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-17 05:08:54 -04:00
Add AvailableChannelOrFeatureHandler for handling lists of channels, features and message pipes to them.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
// Copyright (C) 2021-2023 Jon Beniston, M7RCE <jon@beniston.com> //
|
||||
// Copyright (C) 2021-2024 Jon Beniston, M7RCE <jon@beniston.com> //
|
||||
// Copyright (C) 2022 Edouard Griffiths, F4EXB <f4exb06@gmail.com> //
|
||||
// //
|
||||
// This program is free software; you can redistribute it and/or modify //
|
||||
@@ -708,7 +708,7 @@ void APRSGUI::updateChannelList()
|
||||
ui->sourcePipes->clear();
|
||||
|
||||
for (const auto& channel : m_availableChannels) {
|
||||
ui->sourcePipes->addItem(tr("R%1:%2 %3").arg(channel.m_deviceSetIndex).arg(channel.m_channelIndex).arg(channel.m_type));
|
||||
ui->sourcePipes->addItem(channel.getLongId());
|
||||
}
|
||||
|
||||
ui->sourcePipes->blockSignals(false);
|
||||
|
||||
Reference in New Issue
Block a user