I just fixed a bug ControlDocument::apply which was due to the fact that setLanguage() was called before bp_ was updated, in the line 'view().apply()'. classApply() is still called before this line. I guess that it is OK since changing the class combox updates bp_ immidately in ::classChanged(). However, wouldn't it be better to move the call to classApply() ?