Fix initial sprite sheet type in Export Sprite Sheet dialog

This commit is contained in:
David Capello 2014-08-11 11:48:36 -03:00
parent a2ba77fa1d
commit 70f4354f88

View File

@ -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...");