John Levon wrote: > On Sun, Jan 13, 2002 at 02:07:27PM +0000, [EMAIL PROTECTED] wrote: > > >> fix problem with nroff detection, remove dead code with old floats, >> bogus message when closing last buffer, toolbar status when changing >> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^%^^^^^^^^^^ > > how did you fix this out of interest ?
LyXFunc::getStatus was using setErrorMessage (meaning it set an error even if we were not trying to dispatch). I added a LyXFunc::setStatusMessage method instead, and if a lfun is disabled, ::dispatch sets the error message to the value of statusmessage. How clear is that? JMarc