summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-07-04 09:41:21 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-07-04 09:41:21 -0400
commit11f8e3adc4640c4fa167fd0aaec5799a28111790 (patch)
tree8d1431cc4cf05dab2726b25da30f8bb09ba760c2 /gtk2_ardour/ardour_ui.cc
parentbca1be28e31af8ad56230974ddc14f8eae6f64ce (diff)
stop-and-forget-capture should not toggle transport state, only stop it
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r--gtk2_ardour/ardour_ui.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc
index 1a6e301ccc..4778b6c47d 100644
--- a/gtk2_ardour/ardour_ui.cc
+++ b/gtk2_ardour/ardour_ui.cc
@@ -2306,7 +2306,12 @@ ARDOUR_UI::toggle_roll (bool with_abort, bool roll_out_of_bounded_mode)
if (affect_transport) {
if (rolling) {
_session->request_stop (with_abort, true);
- } else {
+
+ } else if (!with_abort) { /* with_abort == true means the
+ * command was intended to stop
+ * transport, not start.
+ */
+
/* the only external sync condition we can be in here
* would be Engine (JACK) sync, in which case we still
* want to do this.