On Mon, Aug 19, 2002 at 02:01:25PM +0100, Angus Leeming wrote: > > > Martin> wrote: > > >> Finally, LFUN_INSET_SHORTTITLE should be disabled when it does not > > >> mke sense. > > > > Martin> Good ideas welcome. It isn't *that* simple... > > > > It should be done somewhere in LyXFunc::getStatus (so that the menuu > > entry gets greyed out). I'll do it after the patch is in, if you want.
Thanks! I would appreciate that. > > Martin> Works, but you can still change a Section layout to Standard > > Martin> without losing the inset... > > > > That is not really a problem. It may be nice to have the inset display > > itself differently in such a situation, though (like a big red cross > > all over it). I would be very happy already if the label text were greyed out... but I see no *simple* way to do that. If you do, I'd love it -- but don't do it if it adds gratuitous complexity. Greying out the menu entry should already get the message across -- if *that* can be done simply. Remember, a non-valid shorttitle inset generates no LaTeX. > Cool. Add a crossOut var to the painter. Take a cold shower. Too histrionic :-) Martin
msg43127/pgp00000.pgp
Description: PGP signature
