Disable timeline range when we select other document

This commit is contained in:
David Capello 2015-06-15 11:16:57 -03:00
parent dedb470699
commit 09bfa3e61b

View File

@ -142,6 +142,11 @@ void Timeline::updateUsingEditor(Editor* editor)
detachDocument();
if (m_range.enabled()) {
m_range.disableRange();
invalidate();
}
// We always update the editor. In this way the timeline keeps in
// sync with the active editor.
m_editor = editor;