Add a comment for r28404.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28408 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-02-09 09:14:38 +00:00
parent 96eac2ca3f
commit 71c44aa9d0

View File

@ -975,6 +975,8 @@ bool GuiTabular::initialiseParams(string const & data)
void GuiTabular::clearParams()
{
// This function is also called when LyX is closing and the dialog is
// still open. At that time, the buffer might not be available anymore.
if (isBufferAvailable()) {
InsetTabular tmp(const_cast<Buffer &>(buffer()));
tabular_ = tmp.tabular;