mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-04-11 14:08:31 -04:00
Dynamic input tab allocation
This commit is contained in:
parent
6e3e273b68
commit
43be074004
@ -594,8 +594,9 @@ void MainWindow::on_action_Preferences_triggered()
|
||||
void MainWindow::on_sampleSource_currentIndexChanged(int index)
|
||||
{
|
||||
m_pluginManager->saveSourceSettings(m_settings.getWorkingPreset());
|
||||
m_pluginManager->selectSampleSourceByIndex(ui->sampleSource->currentIndex());
|
||||
//m_pluginManager->selectSampleSourceByIndex(ui->sampleSource->currentIndex());
|
||||
//m_settings.setSourceIndex(ui->sampleSource->currentIndex());
|
||||
m_pluginManager->selectSampleSourceByIndex(m_deviceUIs.back()->m_sampleSource->currentIndex());
|
||||
m_settings.setSourceIndex(m_deviceUIs.back()->m_sampleSource->currentIndex());
|
||||
m_pluginManager->loadSourceSettings(m_settings.getWorkingPreset());
|
||||
}
|
||||
|
@ -375,29 +375,8 @@
|
||||
</font>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>-1</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="rxTabInput">
|
||||
<attribute name="title">
|
||||
<string>Rx</string>
|
||||
</attribute>
|
||||
<widget class="QComboBox" name="sampleSource">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>255</width>
|
||||
<height>24</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>255</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
Loading…
Reference in New Issue
Block a user