mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-29 18:20:44 +00:00
Show mini editor window again after PlayAnimationCommand
This commit is contained in:
parent
a5d6af7d87
commit
93c6967409
@ -198,10 +198,8 @@ void PlayAnimationCommand::onExecute(Context* context)
|
||||
// Hide mini editor
|
||||
MiniEditorWindow* miniEditor = App::instance()->getMainWindow()->getMiniEditor();
|
||||
bool enabled = (miniEditor ? miniEditor->isMiniEditorEnabled(): false);
|
||||
if (enabled) {
|
||||
miniEditor->setVisible(false);
|
||||
if (enabled)
|
||||
miniEditor->setMiniEditorEnabled(false);
|
||||
}
|
||||
|
||||
PlayAniWindow window(context, current_editor);
|
||||
window.openWindowInForeground();
|
||||
|
Loading…
Reference in New Issue
Block a user