On 02/10/2010 08:19 AM, Jürgen Spitzmüller wrote:
Abdelrazak Younes wrote:
Should be OK now (untested).
No, it's not. You cannot use params.type for that, because that's not flagged
for translation. Have a look at InsetCollapsable::floatName().
OK, I'll do that. I have to fix th
Abdelrazak Younes wrote:
> Should be OK now (untested).
No, it's not. You cannot use params.type for that, because that's not flagged
for translation. Have a look at InsetCollapsable::floatName().
Jürgen
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(inset);
+ InsetFloatParams const& params = fl->para
younes wrote:
> -void FloatPlacement::set(lyx::InsetFloatParams const & params)
> +void FloatPlacement::paramsToDialog(Inset const * inset)
> {
> + InsetFloat const * fl = static_cast(inset);
> + InsetFloatParams const & params = fl->params();
> +
> + floatType->setText(toqstr(pa