From 0f4705e67b4448de3bc1a685cb21bf0c2d132117 Mon Sep 17 00:00:00 2001 From: David Capello Date: Tue, 21 Apr 2015 12:14:02 -0300 Subject: [PATCH] Remove unnecessary ContextWriter at the end of SpriteSizeCommand --- src/app/commands/cmd_sprite_size.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/commands/cmd_sprite_size.cpp b/src/app/commands/cmd_sprite_size.cpp index abaec5730..8e45b1aeb 100644 --- a/src/app/commands/cmd_sprite_size.cpp +++ b/src/app/commands/cmd_sprite_size.cpp @@ -257,8 +257,7 @@ void SpriteSizeCommand::onExecute(Context* context) job.waitJob(); } - ContextWriter writer(reader); - update_screen_for_document(writer.document()); + update_screen_for_document(reader.document()); } void SpriteSizeCommand::onLockRatioClick()