]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiDocument.cpp
Revert 22023 and really fix bug 4410 (http://bugzilla.lyx.org/show_bug.cgi?id=4410).
[lyx.git] / src / frontends / qt4 / GuiDocument.cpp
index 108ba779fa3165bcb4174de28f8e75cfef8cfe45..93d1f19efa35aea22bccc437dd407036c136bd4b 100644 (file)
@@ -13,8 +13,6 @@
 
 #include "GuiDocument.h"
 
-#include "GuiView.h"
-
 #include "BranchList.h"
 #include "buffer_funcs.h"
 #include "Buffer.h"
@@ -1295,13 +1293,6 @@ void GuiDocument::apply(BufferParams & params)
 
        // Embedded files
        // FIXME
-
-       // GuiDocument is special because some change in there might affect other
-       // dialogs. It is then better to make sure that all dialogs are in sync
-       // with current document settings.
-       lyxview().updateBufferDependent(true);
-       lyxview().updateLayoutList();
-       lyxview().updateToolbars();
 }