mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 14:04:46 -04:00
Save/restore rollup state in features
This commit is contained in:
@@ -114,6 +114,9 @@ void AISGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
||||
{
|
||||
(void) widget;
|
||||
(void) rollDown;
|
||||
|
||||
m_settings.m_rollupState = saveState();
|
||||
applySettings();
|
||||
}
|
||||
|
||||
AISGUI::AISGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Feature *feature, QWidget* parent) :
|
||||
@@ -191,6 +194,7 @@ void AISGUI::displaySettings()
|
||||
header->moveSection(header->visualIndex(i), m_settings.m_vesselColumnIndexes[i]);
|
||||
}
|
||||
|
||||
restoreState(m_settings.m_rollupState);
|
||||
blockApplySettings(false);
|
||||
arrangeRollups();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user