summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_streamview.cc
diff options
context:
space:
mode:
authorJohannes Mueller <github@johannes-mueller.org>2020-04-13 01:59:12 +0200
committerJohannes Mueller <github@johannes-mueller.org>2020-04-13 02:05:36 +0200
commit97e07f4f4cfc8610a01f423074dff1e822cf3c99 (patch)
tree1290f6cbf19dcc1fccabed0fb20f7431bfb33721 /gtk2_ardour/audio_streamview.cc
parent6df03b2f1fa68a7c1056a38d0b570996b92a56ce (diff)
Fix for #8005: Remove rec_box also when transport stopping.
Under some circumstances the transport FSM is still in stopping state when ::non_realtime_stop() already emits TransportStatechange. In that case the rec boxes are not removed if we consider transport stopping == rolling.
Diffstat (limited to 'gtk2_ardour/audio_streamview.cc')
-rw-r--r--gtk2_ardour/audio_streamview.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_streamview.cc b/gtk2_ardour/audio_streamview.cc
index fe9ace43cc..25cd3c941a 100644
--- a/gtk2_ardour/audio_streamview.cc
+++ b/gtk2_ardour/audio_streamview.cc
@@ -196,7 +196,7 @@ AudioStreamView::setup_rec_box ()
{
//cerr << _trackview.name() << " streamview SRB region_views.size() = " << region_views.size() << endl;
- if (!_trackview.session()->transport_stopped()) {
+ if (!_trackview.session()->transport_stopped_or_stopping()) {
// cerr << "\trolling\n";