Go back to current editor frame when animation in preview window is stopped

This commit is contained in:
David Capello 2018-06-29 15:13:56 -03:00
parent ac65b1291d
commit ec8266ea48

View File

@ -311,8 +311,11 @@ void PreviewEditorWindow::onPlayClicked()
miniEditor->play(Preferences::instance().preview.playOnce(),
Preferences::instance().preview.playAll());
}
else
else {
miniEditor->stop();
if (m_relatedEditor)
miniEditor->setFrame(m_relatedEditor->frame());
}
}
void PreviewEditorWindow::onPopupSpeed()