Fix parent for add button

This commit is contained in:
Roland Rabien 2023-09-29 21:44:11 -07:00
commit 04f36ffa4a

View file

@ -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::FileChooser> (juce::String ("Load Wavetable"), juce::File(), juce::String ("*.wav"));