The Popupmenu doesn't need to be a member, which is a bit surprising...
This commit is contained in:
parent
7c0c5ae325
commit
b192c720d7
@ -554,7 +554,7 @@ void PaulstretchpluginAudioProcessorEditor::chooseFile()
|
||||
|
||||
void PaulstretchpluginAudioProcessorEditor::showSettingsMenu()
|
||||
{
|
||||
m_settings_menu = PopupMenu();
|
||||
PopupMenu m_settings_menu;
|
||||
m_settings_menu.addItem(4, "Reset parameters", true, false);
|
||||
m_settings_menu.addItem(5, "Load file with plugin state", true, processor.m_load_file_with_state);
|
||||
m_settings_menu.addItem(1, "Play when host transport running", true, processor.m_play_when_host_plays);
|
||||
|
@ -339,7 +339,6 @@ private:
|
||||
MyTabComponent m_wavefilter_tab;
|
||||
Component* m_wave_container=nullptr;
|
||||
void showAbout();
|
||||
PopupMenu m_settings_menu;
|
||||
std::vector<int> m_capturelens{ 2,5,10,30,60,120 };
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PaulstretchpluginAudioProcessorEditor)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user