mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-20 22:20:50 +00:00
Merge branch 'cebolan-fix-undo-history'
This commit is contained in:
commit
e78f4c79c8
@ -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