From 83aa99a8e2d877b31906b4743ee2748a1e80b3f3 Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 10 Sep 2015 16:44:33 -0300 Subject: [PATCH] Fix crash using SpriteSizeCommand on batch mode --- src/app/app.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/app.cpp b/src/app/app.cpp index bb2657029..03bbb490c 100644 --- a/src/app/app.cpp +++ b/src/app/app.cpp @@ -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(); + App::instance()->updateDisplayTitleBar(); + } } PixelFormat app_get_current_pixel_format()