projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a05bf0
)
Ignore state-changes during deletion
author
Robin Gareus
<robin@gareus.org>
Mon, 30 Jul 2018 15:28:47 +0000
(17:28 +0200)
committer
Robin Gareus
<robin@gareus.org>
Mon, 30 Jul 2018 15:47:29 +0000
(17:47 +0200)
Closing a session removes tracks, which triggers set_dirty().
There is no need to inform the UI or change the session's state.
libs/ardour/session_state.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session_state.cc
b/libs/ardour/session_state.cc
index 6eb06d8c356abb6ba7edc3a76f6cec65d639c54f..4b0a0d9e925caf6fcd599b3481b68f8e3896f717 100644
(file)
--- a/
libs/ardour/session_state.cc
+++ b/
libs/ardour/session_state.cc
@@
-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;
}