diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-12-16 03:05:54 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-12-16 03:05:54 +0000 |
commit | df9bb392efc120e30321f9d03bc0241ad32c4ce4 (patch) | |
tree | 76fdf35c64f88b5e12c7c3cc9c6191a622a10dde | |
parent | e428a74357c475c33b8836f2acae8fee55dec669 (diff) |
session is clean after loading, again
git-svn-id: svn://localhost/ardour2/trunk@1218 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 12 | ||||
-rw-r--r-- | libs/ardour/session_state.cc | 1 |
2 files changed, 3 insertions, 10 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index a92f0b8db3..e369c85261 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -1828,22 +1828,14 @@ This prevents the session from being loaded.")); Config->set_current_owner (ConfigVariableBase::Interface); session_loaded = true; - + goto_editor_window (); - return 0; -} - -int -ARDOUR_UI::make_session_clean () -{ if (session) { session->set_clean (); } - show (); - - return FALSE; + return 0; } int diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index a34b3ec52b..55f2e4be29 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -1218,6 +1218,7 @@ Session::set_state (const XMLNode& node) StateReady (); /* EMIT SIGNAL */ _state_of_the_state = Clean; + cerr << "session marked clean\n"; if (state_was_pending) { save_state (_current_snapshot_name); |