mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-07 00:14:49 -04:00
Save/restore rollup state in features
This commit is contained in:
@@ -101,6 +101,9 @@ void AntennaToolsGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
|
||||
m_settings.m_rollupState = saveState();
|
||||
applySettings();
|
||||
}
|
||||
|
||||
AntennaToolsGUI::AntennaToolsGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Feature *feature, QWidget* parent) :
|
||||
@@ -164,6 +167,7 @@ void AntennaToolsGUI::displaySettings()
|
||||
calcDishBeamwidth();
|
||||
calcDishGain();
|
||||
calcDishEffectiveArea();
|
||||
restoreState(m_settings.m_rollupState);
|
||||
}
|
||||
|
||||
void AntennaToolsGUI::leaveEvent(QEvent*)
|
||||
|
||||
Reference in New Issue
Block a user