In my project I save the state of a ParametriqEQ into a panel that has "saveInPreset" enabled
So loading and saving presets working as it should, however both the EQ module and the DraggableFilterPanel floating tile doesn't update as it should.
this is the way I store a preset and the EQ state
inline function onNewPresetBtnControl(component, value)
{
if (value)
{
ParametriqEQStorage.setValue({"base64": ParametriqEQ1.exportState()});
reg preset = UPH.createObjectForSaveInPresetComponents();
FileSystem.browse(UserPresets, true, "*.preset", function(file)
{
file.writeObject(preset);
setPresets();
});
}
};
and this is how I set the EQ state when loading a preset
I have tried to use .changed() and .sendRepaintMessage() for the flt but it doesn't matter what I do
Someone that can shred some light here?
inline function onParametriqEQStorageControl(component, value)
{
if (isDefined(value.base64))
{
ParametriqEQ1.restoreState(value.base64);
ParametriqEQ1flt.sendRepaintMessage();
}
};