Juergen Spitzmueller wrote:

> Kayvan A. Sylvan wrote:
>> This is with the current CVS:
>>
>> When I create a text-wrap float and try to modify its parameters
>> (right mouse click and click on "Right" and set up "25" "col%", for
>> example), hitting "OK" or "Apply" does not work. Nothing is saved
>> and the settings are lost.
> 
> AFAICS there's something fishy with passing the params to the
> dialogs (not only in floatflt, also in the other floats). If you
> export to LaTeX, then you'll see that the changes _will_ get
> applied, but they won't be read in if you are right-clicking on the
> inset (string2params problem?).
> 
> I'd be very interested on any hint how this could be fixed. I have a
> patch for sideways[figure|table] support lying around...

Well, you receive a string, so print it out:
        lyxerr << str << endl;
Now convert it to a param:
        float_param param;
        string2param(str, param);
Now convert it back and print:
        string str2 = param2string(param);
        lyxerr << str2 << endl;

Are these two print statements the same?

-- 
Angus

Reply via email to