From 7fe88eef417a54a3e1ac5350eb8c197e517051cd Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 18 Sep 2024 08:42:11 -0600 Subject: [PATCH] fix crash when changing file format after creating session properties editor --- gtk2_ardour/session_option_editor.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/session_option_editor.cc b/gtk2_ardour/session_option_editor.cc index 6c42f3e26f..57107c9f43 100644 --- a/gtk2_ardour/session_option_editor.cc +++ b/gtk2_ardour/session_option_editor.cc @@ -507,6 +507,7 @@ SessionOptionEditor::parameter_changed (std::string const & p) else if (p == "track-name-take") { _take_name->set_sensitive(_session_config->get_track_name_take()); } +#ifndef LIVETRAX // options in main toolbar else if (p == "native-file-header-format") { bool need_refill = true; _sf->clear (); @@ -527,6 +528,7 @@ SessionOptionEditor::parameter_changed (std::string const & p) parameter_changed ("native-file-data-format"); } } +#endif } void