Jean-Marc Lasgouttes wrote: > Juergen> Any ideas? > > If you want to have the fontsizes, etc, popups correct when changing > classes, you could extract from class_update() the part that sets the > class parameters (anything not using the BufferParam thingie) and give > it another name. Then you would call this from class_update() (check > first whether it is needed) and from the place of the code where the > class changing takes place. > > Does this sound like a plan?
I have tried something similar (copy the part that sets the fontsizes from class_update() to CheckChoiceClass), but it does not work. How do I tell lyx to use the params of the new (selected class)? Has lv_->prohibitInput() something to do with the trouble? Juergen.