diff options
author | Robin Gareus <robin@gareus.org> | 2016-07-25 01:32:38 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-07-25 01:33:23 +0200 |
commit | 42b20f15a2e5d751582f4c467ffcbcbc9b71a59c (patch) | |
tree | 6526465da7e5310681d39f57823273a0c6122f40 | |
parent | 46c311b2b075d2243025a2e0c7fb677c27baeeb2 (diff) |
fix crash in preferences dialog if lv2-extended is not defined
-rw-r--r-- | gtk2_ardour/rc_option_editor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |