Merge branch 'fix-undo-history' of https://github.com/cebolan/aseprite into cebolan-fix-undo-history

This commit is contained in:
David Capello 2017-09-08 16:11:38 -03:00
commit 8367bb2aaf

View File

@ -246,7 +246,7 @@ void UndoHistoryCommand::onExecute(Context* ctx)
g_window = new UndoHistoryWindow(ctx);
if (g_window->isVisible())
g_window->setVisible(false);
g_window->closeWindow(nullptr);
else
g_window->openWindow();
}