]> git.lyx.org Git - lyx.git/blobdiff - src/LyXView.C
some support for matrix operations with maple ('M-x math-extern maple evalm')
[lyx.git] / src / LyXView.C
index be476aa52228d02f8ec672f95f102e0ff435f26c..c5e3c53030edc39fa7802a352eb7885e994c0f01 100644 (file)
@@ -201,11 +201,10 @@ void LyXView::updateLayoutChoice()
                toolbar->updateLayoutList(true);
                last_textclass = int(buffer()->params.textclass);
                current_layout = 0;
-       } else
+       } else {
                toolbar->updateLayoutList(false);
-
+       }
        
-
        LyXTextClass::size_type layout =
                bufferview->text->cursor.par()->getLayout();
 
@@ -236,6 +235,7 @@ void LyXView::updateWindowTitle()
                setWindowTitle(title);
                last_title = title;
        }
+       last_title = title;
 }