From 04f36ffa4ada5d2fbadcbb58661e4208c148a278 Mon Sep 17 00:00:00 2001 From: Roland Rabien Date: Fri, 29 Sep 2023 21:44:11 -0700 Subject: [PATCH] Fix parent for add button --- plugin/Source/Panels.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/Source/Panels.h b/plugin/Source/Panels.h index af65802..2137fd4 100644 --- a/plugin/Source/Panels.h +++ b/plugin/Source/Panels.h @@ -44,7 +44,7 @@ public: wt->onFileDrop = [this] (const juce::File& f) { loadUserWavetable (f); }; addControl (wt); - addAndMakeVisible (addButton); + addControl (addButton); addButton.onClick = [this] { auto chooser = std::make_shared (juce::String ("Load Wavetable"), juce::File(), juce::String ("*.wav"));