> > the situation with settings is even more weird, because if you insert
> > picture into another inset, eg box, settings get enabled but also gets
> > checkbox.
> 
> I am trying to work on it.

i'm trying to do something similar but can't get it right. in short i would
like to put checkbox in context menu which will show the current group of the
given picture, but i didn't find a way how to get flags in text3
text::getStatus being accepted, they are simply ignored.

i was able to solve it by moving status code into LyxFunc.cpp, but this is
not the rightplace for such a code.

this would explain why sometimes settings context is sometimes disabled and 
sometimes
enabled even with checkbox.

is this bug somewhere in getStatus mechanism or where else should i put
the code for handling status of LFUN_SET_GRAPHICS_GROUP ?

pavel

Reply via email to