mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-28 05:37:19 +00:00
Merge branch 'fix-undo-history' of https://github.com/cebolan/aseprite into cebolan-fix-undo-history
This commit is contained in:
commit
8367bb2aaf
@ -246,7 +246,7 @@ void UndoHistoryCommand::onExecute(Context* ctx)
|
|||||||
g_window = new UndoHistoryWindow(ctx);
|
g_window = new UndoHistoryWindow(ctx);
|
||||||
|
|
||||||
if (g_window->isVisible())
|
if (g_window->isVisible())
|
||||||
g_window->setVisible(false);
|
g_window->closeWindow(nullptr);
|
||||||
else
|
else
|
||||||
g_window->openWindow();
|
g_window->openWindow();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user