13
0

fix crash when changing file format after creating session properties editor

This commit is contained in:
Paul Davis 2024-09-18 08:42:11 -06:00
parent f1b9f48c87
commit 7fe88eef41

View File

@ -507,6 +507,7 @@ SessionOptionEditor::parameter_changed (std::string const & p)
else if (p == "track-name-take") { else if (p == "track-name-take") {
_take_name->set_sensitive(_session_config->get_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") { else if (p == "native-file-header-format") {
bool need_refill = true; bool need_refill = true;
_sf->clear (); _sf->clear ();
@ -527,6 +528,7 @@ SessionOptionEditor::parameter_changed (std::string const & p)
parameter_changed ("native-file-data-format"); parameter_changed ("native-file-data-format");
} }
} }
#endif
} }
void void