+2003-03-10 Angus Leeming <leeming@lyx.org>
+
+ * math_gridinset.[Ch] (d-tor): added to ensure that the tabular
+ dialog is hidden when the inset is deleted and the two are connected.
2003-03-05 Ling Li <ling@caltech.edu>
}
+MathGridInset::~MathGridInset()
+{
+ GridInsetMailer mailer(*this);
+ mailer.hideDialog();
+}
+
+
MathInset * MathGridInset::clone() const
{
return new MathGridInset(*this);
write(ws);
GridInsetMailer mailer(*this);
lyxerr << "mailer " << mailer.name() << " active\n";
- mailer.showDialog();
+ mailer.showDialog(cmd.view());
return DISPATCHED;
}
break;
case LFUN_INSET_DIALOG_UPDATE: {
GridInsetMailer mailer(*this);
- mailer.updateDialog();
+ mailer.updateDialog(cmd.view());
break;
}
MathGridInset(col_type m, row_type n);
///
MathGridInset(col_type m, row_type n, char valign, string const & halign);
+ /// Ensures that the dialog is closed.
+ ~MathGridInset();
///
MathInset * clone() const;
///