]> git.lyx.org Git - lyx.git/blobdiff - src/LyXView.C
bug 183
[lyx.git] / src / LyXView.C
index 5362a6e48e13711ff3dbcc8aade6a59103ae6e54..5b913c99ac8d2df2e997aff4c4494810fbc65b19 100644 (file)
@@ -111,7 +111,6 @@ void LyXView::setLayout(layout_type layout)
 void LyXView::updateToolbar()
 {
        toolbar->update();
-       menubar->update();
 }
 
 
@@ -158,6 +157,7 @@ void LyXView::updateMenubar()
                menubar->set("main_nobuffer");
        else
                menubar->set("main");
+       menubar->update();
 }
 
 
@@ -246,6 +246,4 @@ void LyXView::updateWindowTitle()
 void LyXView::showState()
 {
        message(currentState(view()));
-       getToolbar()->update();
-       menubar->update();
 }