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()