mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-14 02:26:39 +01:00
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
2 changed files with 2 additions and 1 deletions
|
|
@ -196,6 +196,8 @@ Session::Session (AudioEngine &eng,
|
||||||
if (was_dirty) {
|
if (was_dirty) {
|
||||||
DirtyChanged (); /* EMIT SIGNAL */
|
DirtyChanged (); /* EMIT SIGNAL */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_is_new = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Session::~Session ()
|
Session::~Session ()
|
||||||
|
|
|
||||||
|
|
@ -794,7 +794,6 @@ Session::save_state (string snapshot_name, bool pending)
|
||||||
bool was_dirty = dirty();
|
bool was_dirty = dirty();
|
||||||
|
|
||||||
_state_of_the_state = StateOfTheState (_state_of_the_state & ~Dirty);
|
_state_of_the_state = StateOfTheState (_state_of_the_state & ~Dirty);
|
||||||
_is_new = false;
|
|
||||||
|
|
||||||
if (was_dirty) {
|
if (was_dirty) {
|
||||||
DirtyChanged (); /* EMIT SIGNAL */
|
DirtyChanged (); /* EMIT SIGNAL */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue