Fix indent of previous commit

This commit is contained in:
Robin Gareus 2022-09-21 22:38:22 +02:00
parent b3c95e8946
commit 56c5db9115
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 16 additions and 16 deletions

View File

@ -840,26 +840,26 @@ ProcessorEntry::plugin_preset_add ()
boost::shared_ptr<PluginInsert> pi = boost::dynamic_pointer_cast<PluginInsert> (_processor); boost::shared_ptr<PluginInsert> pi = boost::dynamic_pointer_cast<PluginInsert> (_processor);
boost::shared_ptr<ARDOUR::Plugin> plugin = pi->plugin (); boost::shared_ptr<ARDOUR::Plugin> plugin = pi->plugin ();
NewPluginPresetDialog d (plugin, _("New Preset")); NewPluginPresetDialog d (plugin, _("New Preset"));
Gtk::Window* tlw = dynamic_cast<Gtk::Window*> (_parent->get_toplevel ()); Gtk::Window* tlw = dynamic_cast<Gtk::Window*> (_parent->get_toplevel ());
d.set_keep_above (true); d.set_keep_above (true);
if (tlw) { if (tlw) {
d.set_transient_for (*tlw); d.set_transient_for (*tlw);
} }
switch (d.run ()) { switch (d.run ()) {
case Gtk::RESPONSE_ACCEPT: case Gtk::RESPONSE_ACCEPT:
if (d.name().empty()) { if (d.name().empty()) {
break; break;
} }
Plugin::PresetRecord const r = plugin->save_preset (d.name()); Plugin::PresetRecord const r = plugin->save_preset (d.name());
if (!r.uri.empty ()) { if (!r.uri.empty ()) {
plugin->Plugin::load_preset (r); plugin->Plugin::load_preset (r);
} }
break; break;
} }
} }
Menu* Menu*