mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-03 21:46:20 +00:00
NewLayer can be called in batch mode
This commit is contained in:
parent
8ba664e306
commit
853415332b
@ -319,6 +319,8 @@ void NewLayerCommand::onExecute(Context* context)
|
||||
|
||||
tx.commit();
|
||||
}
|
||||
|
||||
if (context->isUIAvailable()) {
|
||||
update_screen_for_document(document);
|
||||
|
||||
StatusBar::instance()->invalidate();
|
||||
@ -329,6 +331,7 @@ void NewLayerCommand::onExecute(Context* context)
|
||||
|
||||
App::instance()->mainWindow()->popTimeline();
|
||||
}
|
||||
}
|
||||
|
||||
std::string NewLayerCommand::onGetFriendlyName() const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user