On 02/09/2010 07:47 PM, Jürgen Spitzmüller wrote:
younes wrote:
-void FloatPlacement::set(lyx::InsetFloatParams const& params)
+void FloatPlacement::paramsToDialog(Inset const * inset)
{
+ InsetFloat const * fl = static_cast<InsetFloat const *>(inset);
+ InsetFloatParams const& params = fl->params();
+
+ floatType->setText(toqstr(params.type));
i18n please.
Should be OK now (untested). FWIW, I wanted to implement a combo with
the list of available types but did not find the time... I think this
would be a good ui improvement.
Abdel.