mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 14:00:47 +02:00
Fix parent for add button
This commit is contained in:
parent
332435ca9b
commit
04f36ffa4a
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ public:
|
||||||
wt->onFileDrop = [this] (const juce::File& f) { loadUserWavetable (f); };
|
wt->onFileDrop = [this] (const juce::File& f) { loadUserWavetable (f); };
|
||||||
addControl (wt);
|
addControl (wt);
|
||||||
|
|
||||||
addAndMakeVisible (addButton);
|
addControl (addButton);
|
||||||
addButton.onClick = [this]
|
addButton.onClick = [this]
|
||||||
{
|
{
|
||||||
auto chooser = std::make_shared<juce::FileChooser> (juce::String ("Load Wavetable"), juce::File(), juce::String ("*.wav"));
|
auto chooser = std::make_shared<juce::FileChooser> (juce::String ("Load Wavetable"), juce::File(), juce::String ("*.wav"));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue