mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-20 04:15:46 +01:00
do not load presets while resetting the popdown string list in a plugin GUI
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6129 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
804f08f17e
commit
c08077eef8
1 changed files with 5 additions and 1 deletions
|
|
@ -437,8 +437,8 @@ PlugUIBase::save_plugin_setting ()
|
|||
to the list.
|
||||
*/
|
||||
|
||||
set_popdown_strings (preset_combo, plugin->get_presets());
|
||||
no_load_preset = true;
|
||||
set_popdown_strings (preset_combo, plugin->get_presets());
|
||||
preset_combo.set_active_text (name);
|
||||
no_load_preset = false;
|
||||
}
|
||||
|
|
@ -481,6 +481,8 @@ void
|
|||
PlugUIBase::update_presets ()
|
||||
{
|
||||
vector<string> presets = plugin->get_presets();
|
||||
no_load_preset = true;
|
||||
|
||||
set_popdown_strings (preset_combo, plugin->get_presets());
|
||||
|
||||
string current_preset = plugin->current_preset();
|
||||
|
|
@ -492,4 +494,6 @@ PlugUIBase::update_presets ()
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
no_load_preset = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue