1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 14:04:46 -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
@@ -198,6 +198,7 @@ void InterferometerGUI::displaySettings()
applyDecimation();
ui->phaseCorrection->setValue(m_settings.m_phase);
ui->phaseCorrectionText->setText(tr("%1").arg(m_settings.m_phase));
restoreState(m_settings.m_rollupState);
blockApplySettings(false);
}
@@ -241,6 +242,9 @@ void InterferometerGUI::onWidgetRolled(QWidget* widget, bool rollDown)
{
(void) widget;
(void) rollDown;
m_settings.m_rollupState = saveState();
applySettings();
}
void InterferometerGUI::onMenuDialogCalled(const QPoint &p)