Hi!

I am trying to make sense of the toolbar.ui logic. In ToolbarBackend::readToolbarSettings there is no support for an "auto" flag. But ToolbarInfo::Flags suggests that there is a need to set this bit to enable the auto mode from the default configuration:

AUTO = 512, //< only if AUTO is set, when MATH, TABLE and REVIEW is used

I just want to enable the math macro toolbar automatically if you go into a math macro definition. This works fine with the addition of the auto flag to ToolbarBackend::readToolbarSettings:

else if (!compare_ascii_no_case(*cit, "auto"))
        flag = ToolbarInfo::AUTO;

Can anybody shed some light on this?

Stefan

Reply via email to