summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/ardour_ui_dependents.cc4
-rw-r--r--libs/ardour/session.cc5
2 files changed, 5 insertions, 4 deletions
diff --git a/gtk2_ardour/ardour_ui_dependents.cc b/gtk2_ardour/ardour_ui_dependents.cc
index bf096f86c1..0603fc6baa 100644
--- a/gtk2_ardour/ardour_ui_dependents.cc
+++ b/gtk2_ardour/ardour_ui_dependents.cc
@@ -79,10 +79,6 @@ ARDOUR_UI::connect_dependents_to_session (ARDOUR::Session *s)
{
editor->connect_to_session (s);
mixer->connect_to_session (s);
-
- /* its safe to do this now */
-
- s->restore_history (s->snap_name());
}
void
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index 7e3b061656..0cc00bc754 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -835,6 +835,11 @@ Session::when_engine_running ()
}
}
+
+ /* its safe to do this now */
+
+ restore_history (snap_name());
+
_state_of_the_state = StateOfTheState (_state_of_the_state & ~(CannotSave|Dirty));
/* hook us up to the engine */