1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 22:14:45 -04:00

Save/restore rollup state in channel plugins

This commit is contained in:
Jon Beniston
2021-11-24 09:50:42 +00:00
parent 4b80fbf337
commit 2e68017b12
132 changed files with 310 additions and 2 deletions
@@ -227,6 +227,7 @@ void RemoteSourceGUI::displaySettings()
blockApplySettings(true);
ui->dataAddress->setText(m_settings.m_dataAddress);
ui->dataPort->setText(tr("%1").arg(m_settings.m_dataPort));
restoreState(m_settings.m_rollupState);
blockApplySettings(false);
}
@@ -266,6 +267,9 @@ void RemoteSourceGUI::onWidgetRolled(QWidget* widget, bool rollDown)
{
(void) widget;
(void) rollDown;
m_settings.m_rollupState = saveState();
applySettings();
}
void RemoteSourceGUI::onMenuDialogCalled(const QPoint &p)