Preset Browser closes when preset is selected
-
Hi everyone, I have a small problem.
I have a script floating tale in a panel as a preset browser, which I can toggle in and out with a button. That works perfectly fine.
The problem is, as soon as I select a sound, the preset browser doesn't stay open; it closes immediately. To select another sound, I have to reopen it every time.
const var Panel1 = Content.getComponent("Panel1");
const var Button13 = Content.getComponent("Button13");inline function onButton1Control(component, value)
{
Panel1.set("visible", value);
}Button13.setControlCallback(onButton1Control);
What's the problem?
Or is there an easier way to toggle the preset browser in and out?
Sorry, I'm a beginner.

-
@Proteus1 your button is probably set to saveInPreset, which triggers it on preset change… just disable that
-
@Proteus1 Thanks:)
-
@ustk said in Preset Browser closes when preset is selected:
@Proteus1 your button is probably set to saveInPreset, which triggers it on preset change… just disable that
solved