git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21034 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-10-18 15:38:12 +00:00
parent 6725b2db59
commit d3e167c75f

View File

@ -852,10 +852,10 @@ FuncStatus BufferView::getStatus(FuncRequest const & cmd)
switch (cmd.action) {
case LFUN_UNDO:
flag.enabled(!buffer_.undo().hasUndoStack());
flag.enabled(buffer_.undo().hasUndoStack());
break;
case LFUN_REDO:
flag.enabled(!buffer_.undo().hasRedoStack());
flag.enabled(buffer_.undo().hasRedoStack());
break;
case LFUN_FILE_INSERT:
case LFUN_FILE_INSERT_PLAINTEXT_PARA: