]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiERT.cpp
If we are in a closeEvent, we don't want to close all buffers, because these may...
[lyx.git] / src / frontends / qt4 / GuiERT.cpp
index 175c4f4fc02705419e1098d96f4b8c5949c51c62..db846fff00d7acaaa1e12b56de6196b325fc83cd 100644 (file)
@@ -67,7 +67,7 @@ void GuiERT::updateContents()
 
 bool GuiERT::initialiseParams(string const & data)
 {
-       InsetERT::string2params(data, status_);
+       status_ = InsetERT::string2params(data);
        return true;
 }
 
@@ -90,4 +90,4 @@ Dialog * createGuiERT(GuiView & lv) { return new GuiERT(lv); }
 } // namespace frontend
 } // namespace lyx
 
-#include "GuiERT_moc.cpp"
+#include "moc_GuiERT.cpp"