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
This commit is contained in:
parent
eb6ae56faf
commit
f11a5e1769
|
@ -196,6 +196,8 @@ Session::Session (AudioEngine &eng,
|
|||
if (was_dirty) {
|
||||
DirtyChanged (); /* EMIT SIGNAL */
|
||||
}
|
||||
|
||||
_is_new = false;
|
||||
}
|
||||
|
||||
Session::~Session ()
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue