Fix error in FrameProperties: setting the text to "window" instead of "frame" widget.

This commit is contained in:
David Capello 2012-07-09 18:37:55 -03:00
parent 8e7b16c3b1
commit e1fb3099b4

View File

@ -110,9 +110,9 @@ void FramePropertiesCommand::onExecute(Context* context)
}
if (m_target == ALL_FRAMES)
window->setText("All");
frame->setText("All");
else
window->setTextf("%d", (int)sprite_frame);
frame->setTextf("%d", (int)sprite_frame);
frlen->setTextf("%d", sprite->getFrameDuration(sprite->getCurrentFrame()));