diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 765fa13516..bb2bf49053 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -2536,7 +2536,9 @@ Editor::set_state (const XMLNode& node, int version) PBD::Unwinder nsi (no_save_instant, true); bool yn; - Tabbable::set_state (node, version); + if (!Profile->get_livetrax()) { + Tabbable::set_state (node, version); + } samplepos_t ph_pos; if (_session && node.get_property ("playhead", ph_pos)) { @@ -2754,7 +2756,9 @@ Editor::get_state () const node->set_property ("id", id().to_s ()); - node->add_child_nocopy (Tabbable::get_state()); + if (!Profile->get_livetrax()) { + node->add_child_nocopy (Tabbable::get_state()); + } node->set_property("edit-horizontal-pane-pos", edit_pane.get_divider ()); node->set_property("notebook-shrunk", _notebook_shrunk); diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc index b9f53f7ea5..c0ca9d3281 100644 --- a/gtk2_ardour/mixer_ui.cc +++ b/gtk2_ardour/mixer_ui.cc @@ -2560,7 +2560,9 @@ Mixer_UI::set_state (const XMLNode& node, int version) { bool yn; - Tabbable::set_state (node, version); + if (!Profile->get_livetrax()) { + Tabbable::set_state (node, version); + } if (node.get_property ("narrow-strips", yn)) { if (yn) { @@ -2704,7 +2706,9 @@ Mixer_UI::get_state () const { XMLNode* node = new XMLNode (X_("Mixer")); - node->add_child_nocopy (Tabbable::get_state()); + if (!Profile->get_livetrax()) { + node->add_child_nocopy (Tabbable::get_state()); + } node->set_property (X_("mixer-rhs-pane1-pos"), rhs_pane1.get_divider()); node->set_property (X_("mixer-rhs_pane2-pos"), rhs_pane2.get_divider());