]> git.lyx.org Git - features.git/commitdiff
* src/Text3.cpp: don't reset current_layout too early (fix bug 3727).
authorJürgen Spitzmüller <spitz@lyx.org>
Fri, 22 Jun 2007 16:36:30 +0000 (16:36 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Fri, 22 Jun 2007 16:36:30 +0000 (16:36 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18855 a592a061-630c-0410-9148-cb99ea01b6c8

src/Text3.cpp

index 5cf704de91853d1f0097b9e9bfad4d3c5bd191ae..eb84631e572eb6a19a7b48d3513b866fcd564b57 100644 (file)
@@ -947,7 +947,6 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
                }
 
                if (change_layout) {
-                       current_layout = layout;
                        setLayout(cur, layout);
                        // inform the GUI that the layout has changed.
                        bv->layoutChanged(layout);