On Wednesday 24 July 2002 3:10 pm, Juergen Spitzmueller wrote:
> Please check the controller stuff. This is new land to me...
>
> There's one problem and a few questions left, though:
>
> The problem:
> After changing the type from wide to normal or vice versa, the inset button
> (label) gets not updated immediately. I guess an update call is needed. Can
> someone have a look please?

You mean the label to the button in the LyX view?

Try

void ControlFloat::applyParamsToInset()
 {
        inset()->placement(params().placement);
+       inset()->wide(params().wide);
+       lv_.view()->updateInset(inset(), true);
 }

These controllers really need an overhaul. Shouldn't this be done eventually 
through LyXFunc::dispatch?

Angus

Reply via email to