diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-23 17:58:40 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-23 17:58:40 +0000 |
commit | f11a5e176951bf6a2b74276512fc4a669aa6ac87 (patch) | |
tree | 8cfe8617d9c2665000a57d5e573a87f9e7ca7daa /libs | |
parent | eb6ae56fafa8cc1cf5309a33e40227a402ee608d (diff) |
don't set _is_new=false too early when creating a new session
git-svn-id: svn://localhost/ardour2/branches/3.0@6788 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/session.cc | 2 | ||||
-rw-r--r-- | libs/ardour/session_state.cc | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index e071cf06e9..398c125935 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -196,6 +196,8 @@ Session::Session (AudioEngine &eng, if (was_dirty) { DirtyChanged (); /* EMIT SIGNAL */ } + + _is_new = false; } Session::~Session () diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 9e7a652f51..e5e75d6550 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -794,7 +794,6 @@ Session::save_state (string snapshot_name, bool pending) bool was_dirty = dirty(); _state_of_the_state = StateOfTheState (_state_of_the_state & ~Dirty); - _is_new = false; if (was_dirty) { DirtyChanged (); /* EMIT SIGNAL */ |