mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 13:47:01 -04:00
Fix gcc warnings
This commit is contained in:
@@ -221,8 +221,11 @@ void GS232ControllerGUI::updatePipeList()
|
||||
|
||||
if (currentText.isEmpty())
|
||||
{
|
||||
if (m_availablePipes.size() > 0)
|
||||
ui->sources->setCurrentIndex(0);
|
||||
// Source feature may be loaded after this, so may not have existed when
|
||||
// displaySettings was called
|
||||
if (m_availablePipes.size() > 0) {
|
||||
ui->sources->setCurrentIndex(ui->sources->findText(m_settings.m_source));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user