diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index ecc9012af5..fce5d15ca4 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -840,26 +840,26 @@ ProcessorEntry::plugin_preset_add () boost::shared_ptr pi = boost::dynamic_pointer_cast (_processor); boost::shared_ptr plugin = pi->plugin (); - NewPluginPresetDialog d (plugin, _("New Preset")); + NewPluginPresetDialog d (plugin, _("New Preset")); Gtk::Window* tlw = dynamic_cast (_parent->get_toplevel ()); - d.set_keep_above (true); - if (tlw) { - d.set_transient_for (*tlw); - } + d.set_keep_above (true); + if (tlw) { + d.set_transient_for (*tlw); + } - switch (d.run ()) { - case Gtk::RESPONSE_ACCEPT: - if (d.name().empty()) { - break; - } + switch (d.run ()) { + case Gtk::RESPONSE_ACCEPT: + if (d.name().empty()) { + break; + } - Plugin::PresetRecord const r = plugin->save_preset (d.name()); - if (!r.uri.empty ()) { - plugin->Plugin::load_preset (r); - } - break; - } + Plugin::PresetRecord const r = plugin->save_preset (d.name()); + if (!r.uri.empty ()) { + plugin->Plugin::load_preset (r); + } + break; + } } Menu*