File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,9 @@ FireAudioProcessorEditor::FireAudioProcessorEditor(FireAudioProcessor &p)
2525 // however, AU plugin calls constructor after setStateInformation/
2626 // So I set delay of 1 ms to reset size and other stuff.
2727 // call function after 1 ms
28- std::function<void ()> initFunction = [this ]() { initEditor (); };
29- juce::Timer::callAfterDelay (1 , initFunction);
28+ /* std::function<void()> initFunction = [this]() { initEditor(); };
29+ juce::Timer::callAfterDelay(1, initFunction);*/
30+ initEditor ();
3031
3132 // Graph
3233 addAndMakeVisible (graphPanel);
@@ -176,7 +177,7 @@ FireAudioProcessorEditor::~FireAudioProcessorEditor()
176177void FireAudioProcessorEditor::initEditor ()
177178{
178179 setSize (processor.getSavedWidth (), processor.getSavedHeight ());
179-
180+ processor. setLineNum (multiband. getLineNum ());
180181 // processor.setPresetId(processor.getPresetId());
181182 // lastPresetName = stateComponent.getPresetName();
182183
You can’t perform that action at this time.
0 commit comments