Every time I click on the plug in name in the channel window, my plug in resets to default! Going from window to window works fine, it’s only when i click from the channel view. I believe this is because the editorconstructor is called again when this happens.
I am using the basic Juce Audio Plug In preset and have not added any custom methods or classes. I am using only the Processor and the ProcessEditor classes.
So far I have 3 sliders. .setBounds() is in the resized() method, .getValue() (passing information to the processor) is in in sliderChanged() method, and everything else (.setSliderStyle, .setRange, setTextBoxStyle, .setPopupDisplayEnabled, .setTextValueSuffix and .setValue) is in the constructor. Have I placed my Slider information in the wrong methods?