Fix start playing animation on preview window when adding/removing frames (fix #2481)

This commit is contained in:
David Capello 2020-08-11 08:45:30 -03:00
parent bbfa023b30
commit ddee4dc0b9

View File

@ -461,7 +461,8 @@ void PreviewEditorWindow::onPreviewOtherEditor(Editor* editor)
void PreviewEditorWindow::onTagChangeEditor(Editor* editor, DocEvent& ev)
{
adjustPlayingTag();
if (m_playButton->isPlaying())
adjustPlayingTag();
}
void PreviewEditorWindow::hideWindow()