From 049affae6566f5aa15f54f4431b2579fc09fbd03 Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 2 May 2014 11:56:18 -0300 Subject: [PATCH] Timeline: Fix bug start cels movement with right-click --- src/app/ui/timeline.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/ui/timeline.cpp b/src/app/ui/timeline.cpp index b9548b127..dd9a08319 100644 --- a/src/app/ui/timeline.cpp +++ b/src/app/ui/timeline.cpp @@ -371,9 +371,10 @@ bool Timeline::onProcessMessage(Message* msg) // Change the scroll to show the new selected cel. showCel(m_clk_layer, m_frame); - m_state = STATE_SELECTING_CELS; - if (selectCel) + if (selectCel) { + m_state = STATE_SELECTING_CELS; m_range.startRange(m_clk_layer, m_clk_frame, Range::kCels); + } invalidate(); break; }