Merge branch 'cebolan-fix-undo-history'

This commit is contained in:
David Capello 2017-09-08 16:15:55 -03:00
commit e78f4c79c8

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();
}