Fix crash using SpriteSizeCommand on batch mode

This commit is contained in:
David Capello 2015-09-10 16:44:33 -03:00
parent 3d700ab94c
commit 83aa99a8e2

View File

@ -706,10 +706,10 @@ void app_refresh_screen()
// document is modified).
void app_rebuild_documents_tabs()
{
if (App::instance()->isGui())
if (App::instance()->isGui()) {
App::instance()->getMainWindow()->getWorkspace()->updateTabs();
App::instance()->updateDisplayTitleBar();
}
}
PixelFormat app_get_current_pixel_format()