> Dear all, > > This patch solves two problems: > > 1. LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD try to load a > textclass without passing document path. (see loadTextclass(class) in > line 1765 and 1796 of LyXFunc.cpp). This leads to erraneous behaviors > when the preamble of a buffer with local layout file is modified.
please check also the doxy comments in LyXAction.cpp. thanks pavel