From cbbde98e4fe099fb786f59703e605d56c789342b Mon Sep 17 00:00:00 2001 From: midi-pascal Date: Mon, 2 May 2016 06:32:40 -0400 Subject: [PATCH] Fixes #1735 (#2750) Piano Roll: Do not scroll back when stopping if scroll is disabled --- src/gui/editors/PianoRoll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/editors/PianoRoll.cpp b/src/gui/editors/PianoRoll.cpp index f66b0ff90..8fd7e0f10 100644 --- a/src/gui/editors/PianoRoll.cpp +++ b/src/gui/editors/PianoRoll.cpp @@ -3413,7 +3413,7 @@ void PianoRoll::stop() { Engine::getSong()->stop(); m_recording = false; - m_scrollBack = true; + m_scrollBack = ( m_timeLine->autoScroll() == TimeLineWidget::AutoScrollEnabled ); }