summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-12-29 13:31:40 +0100
committerRobin Gareus <robin@gareus.org>2015-12-29 13:31:40 +0100
commit80e170d7fd0da39d109b5ad4bd8dd54069592336 (patch)
tree77992c66e9d8af9066388a1e4abcba49923d4164 /gtk2_ardour
parent2d871435ca617fbf106916f049766dec33a23857 (diff)
keep VST path editor on top of preferences.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/rc_option_editor.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc
index c712b6a864..1146ab25c3 100644
--- a/gtk2_ardour/rc_option_editor.cc
+++ b/gtk2_ardour/rc_option_editor.cc
@@ -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()
);