A point was raised that I should hide the graphics dialog when my inset is
deleted, a very good point actually, lyx is crashable otherwise, I just
tried. The reason is that I have a pointer to the inset and use it as in:
inset_->setParams() / inset_->getParams()

Well, the solution should be easy I thought, just add a hideGraphics
signal have it be called from the inset destructor and if the dialog
belongs to the inset (i.e. it edits for the inset) hide the dialog.

As you can guess, it ain't so easy, I don't have a way to get to the
Dialogs signals from the destructor.

How should I go about it?

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://rpghost.com/jindor/                 (My brothers AD&D site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael


Reply via email to