]> git.lyx.org Git - features.git/commitdiff
Add a comment for r28404.
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 9 Feb 2009 09:14:38 +0000 (09:14 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 9 Feb 2009 09:14:38 +0000 (09:14 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28408 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiTabular.cpp

index 6f682b2fa0b431309440a7e07849fa4215ba6685..dbce9dc6f65b92791bbdc9c516a9416966e5ec7f 100644 (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;