session is clean after loading, again

git-svn-id: svn://localhost/ardour2/trunk@1218 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2006-12-16 03:05:54 +00:00
parent e428a74357
commit df9bb392ef
2 changed files with 3 additions and 10 deletions

View File

@@ -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

View File

@@ -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);