On Fri, Aug 24, 2001 at 10:27:49AM +0100, Angus Leeming wrote:

> The change of state is coming from the LyX side not the Dialog side and so 

no, it's coming from the Dialog side. Have you read the other mail where I was a bit
clearer on what's going on ?

> 
> template <class Inset, class Params>
> void ControlInset<Inset, Params>::showInset(Inset * inset)
> {
> void ControlInset<Inset, Params>::createInset(string const & arg)
> 
> You can see that we set the state of the input in createInset (although I'm 
> not sure that control is ever passed to the dialog in this instance. The 
> inset should be created automatically in LyXFunc::Dispatch here). Anyway, 
> that's an aside.
> 
> John, you should set the bc in these two functions. 

at the very end of each of these I should add :

        bc().invalid();
        bc().restore();

? (this sequence works w/o errors)

regards
john

-- 
"That's just kitten-eating wrong."
        - Richard Henderson

Reply via email to