GotoPrev/NextLayerCommands do not show tooltip.

This commit is contained in:
David Capello 2010-04-06 09:03:39 -03:00
parent 2c7b527efb
commit 8ee599f3e3

View File

@ -73,8 +73,8 @@ void GotoPreviousLayerCommand::execute(Context* context)
current_editor->flashCurrentLayer();
app_get_statusbar()
->showTip(1000, _("Layer `%s' selected"),
sprite->getCurrentLayer()->get_name().c_str());
->setStatusText(1000, _("Layer `%s' selected"),
sprite->getCurrentLayer()->get_name().c_str());
}
//////////////////////////////////////////////////////////////////////
@ -122,8 +122,8 @@ void GotoNextLayerCommand::execute(Context* context)
current_editor->flashCurrentLayer();
app_get_statusbar()
->showTip(1000, _("Layer `%s' selected"),
sprite->getCurrentLayer()->get_name().c_str());
->setStatusText(1000, _("Layer `%s' selected"),
sprite->getCurrentLayer()->get_name().c_str());
}
//////////////////////////////////////////////////////////////////////