]> git.lyx.org Git - features.git/commitdiff
Fix undo/redo following scroll work.
authorAbdelrazak Younes <younes@lyx.org>
Wed, 26 Dec 2007 14:00:55 +0000 (14:00 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 26 Dec 2007 14:00:55 +0000 (14:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22314 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView.cpp

index 3fdb769ed792b49a9beb6d1cf710b61a1ac33c5f..96070bfec913d9d0a99a53cb46918599a3350c1a 100644 (file)
@@ -923,6 +923,7 @@ bool BufferView::dispatch(FuncRequest const & cmd)
                cur.clearSelection();
                if (!cur.textUndo())
                        cur.message(_("No further undo information"));
+               showCursor();
                break;
 
        case LFUN_REDO:
@@ -930,6 +931,7 @@ bool BufferView::dispatch(FuncRequest const & cmd)
                cur.clearSelection();
                if (!cur.textRedo())
                        cur.message(_("No further redo information"));
+               showCursor();
                break;
 
        case LFUN_FONT_STATE: