Ignore state-changes during deletion
Closing a session removes tracks, which triggers set_dirty(). There is no need to inform the UI or change the session's state.
This commit is contained in:
parent
1a05bf08fc
commit
e951a55d02
|
@ -3674,7 +3674,7 @@ Session::set_dirty ()
|
||||||
}
|
}
|
||||||
|
|
||||||
/* never mark session dirty during loading */
|
/* never mark session dirty during loading */
|
||||||
if (_state_of_the_state & Loading) {
|
if (_state_of_the_state & (Loading | Deletion)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user