>>>> what if i put there some flag that only in that particular sort check >>>> box >>>> change will be toolbars will recomputed? >>> I don't think the slowness is due to the layout sorting. The obvious >>> culprit is the Math panel: >> layout sorting is the culprit in the sense that it is the only thing in >> preferences which needs toolbar recalculation. > > By the way, this is not true anyway as the layout initialisation is not > done as part as the toolbar reinitialisation.
dunno. i just remember i had to change GuiToolbars::updateLayoutList so that it runs fully after preferences change so i thought it has something to do with the reinitialization you are talking about. pavel