]> git.lyx.org Git - lyx.git/blobdiff - src/LyXView.C
Added new FINISED states FINISHED_RIGHT, FINISHED_UP, FINISHED_DOWN.
[lyx.git] / src / LyXView.C
index a0313ab7c6318f98eb3b6e6ed9302269dc62cb8b..3b8dac80cd08403517eeb723801ce37c96dcf3f7 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();
 
@@ -241,7 +240,7 @@ void LyXView::updateWindowTitle()
 
 void LyXView::showState()
 {
-       message(CurrentState(view()));
+       message(currentState(view()));
        getToolbar()->update();
        menubar->update();
 }