diff --git a/src/app/ui/preview_editor.cpp b/src/app/ui/preview_editor.cpp index 1e4b2d2a9..8477e968d 100644 --- a/src/app/ui/preview_editor.cpp +++ b/src/app/ui/preview_editor.cpp @@ -381,8 +381,10 @@ void PreviewEditorWindow::updateUsingEditor(Editor* editor) if (miniEditor->isPlaying()) { doc::FrameTag* tag = get_animation_tag(editor->sprite(), editor->frame()); doc::FrameTag* playingTag = get_animation_tag(editor->sprite(), m_refFrame); - if (tag != playingTag) - miniEditor->stop(); + if (tag == playingTag) + return; + + miniEditor->stop(); } if (!miniEditor->isPlaying())