From 42b20f15a2e5d751582f4c467ffcbcbc9b71a59c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 25 Jul 2016 01:32:38 +0200 Subject: [PATCH] fix crash in preferences dialog if lv2-extended is not defined --- gtk2_ardour/rc_option_editor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index a37ac89703..d0a268065e 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -3400,7 +3400,7 @@ RCOptionEditor::parameter_changed (string const & p) _ltc_send_continuously->set_sensitive (s); _ltc_volume_slider->set_sensitive (s); } else if (p == "open-gui-after-adding-plugin" || p == "show-inline-display-by-default") { -#ifdef LV2_SUPPORT +#if (defined LV2_SUPPORT && defined LV2_EXTENDED) _plugin_prefer_inline->set_sensitive (UIConfiguration::instance().get_open_gui_after_adding_plugin() && UIConfiguration::instance().get_show_inline_display_by_default()); #endif } -- 2.30.2