From d3e167c75f46ed3b39f2a2c800b710c83ca0f55e Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 18 Oct 2007 15:38:12 +0000 Subject: [PATCH] oups... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21034 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/BufferView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BufferView.cpp b/src/BufferView.cpp index 320477bdf4..3dd9351879 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -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: