From 70f4354f88ef94dd08e25333fa7e1910f804c7b7 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 11 Aug 2014 11:48:36 -0300 Subject: [PATCH] Fix initial sprite sheet type in Export Sprite Sheet dialog --- src/app/commands/cmd_export_sprite_sheet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/commands/cmd_export_sprite_sheet.cpp b/src/app/commands/cmd_export_sprite_sheet.cpp index 78f70eafb..1ce5c8a53 100644 --- a/src/app/commands/cmd_export_sprite_sheet.cpp +++ b/src/app/commands/cmd_export_sprite_sheet.cpp @@ -138,7 +138,7 @@ public: sheetType()->addItem("Vertical Strip"); sheetType()->addItem("Matrix"); if (data) - sheetType()->setSelectedItemIndex((int)data->type()); + sheetType()->setSelectedItemIndex((int)data->type()-1); // TODO harcoded -1 exportAction()->addItem("Save Copy As..."); exportAction()->addItem("Save As...");