keep VST path editor on top of preferences.
authorRobin Gareus <robin@gareus.org>
Tue, 29 Dec 2015 12:31:40 +0000 (13:31 +0100)
committerRobin Gareus <robin@gareus.org>
Tue, 29 Dec 2015 12:31:40 +0000 (13:31 +0100)
gtk2_ardour/rc_option_editor.cc

index c712b6a864f24cd3a100d6483235675f05acc91b..1146ab25c36a0f98421c50ee89597e8e8260fa02 100644 (file)
@@ -3189,8 +3189,9 @@ void RCOptionEditor::clear_au_blacklist () {
 }
 
 void RCOptionEditor::edit_lxvst_path () {
+       Glib::RefPtr<Gdk::Window> win = get_parent_window ();
        Gtkmm2ext::PathsDialog *pd = new Gtkmm2ext::PathsDialog (
-                       _("Set Linux VST Search Path"),
+                       *this, _("Set Linux VST Search Path"),
                        _rc_config->get_plugin_path_lxvst(),
                        PluginManager::instance().get_default_lxvst_path()
                        );
@@ -3204,7 +3205,7 @@ void RCOptionEditor::edit_lxvst_path () {
 
 void RCOptionEditor::edit_vst_path () {
        Gtkmm2ext::PathsDialog *pd = new Gtkmm2ext::PathsDialog (
-                       _("Set Windows VST Search Path"),
+                       *this, _("Set Windows VST Search Path"),
                        _rc_config->get_plugin_path_vst(),
                        PluginManager::instance().get_default_windows_vst_path()
                        );