13
0

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:
Robin Gareus 2018-07-30 17:28:47 +02:00
parent 1a05bf08fc
commit e951a55d02

View File

@ -3674,7 +3674,7 @@ Session::set_dirty ()
}
/* never mark session dirty during loading */
if (_state_of_the_state & Loading) {
if (_state_of_the_state & (Loading | Deletion)) {
return;
}