mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
Keep plugin-preset dialog on top of plugin-UI
This commit is contained in:
parent
e057088195
commit
cc32201e9c
1 changed files with 6 additions and 0 deletions
|
|
@ -726,6 +726,12 @@ PlugUIBase::add_plugin_setting ()
|
|||
{
|
||||
NewPluginPresetDialog d (plugin, _("New Preset"));
|
||||
|
||||
Window* win = dynamic_cast<Window*> (_bypass_button.get_toplevel ());
|
||||
d.set_keep_above (true);
|
||||
if (win) {
|
||||
d.set_transient_for (*win);
|
||||
}
|
||||
|
||||
switch (d.run ()) {
|
||||
case Gtk::RESPONSE_ACCEPT:
|
||||
if (d.name().empty()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue