]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.C
more cursor dispatch
[lyx.git] / src / BufferView.C
index a04f01993119aa838200b334b44a42d4f38bc69d..d1ff326a342b1ed739c172f98612c333a29d6fc8 100644 (file)
@@ -333,7 +333,7 @@ void BufferView::undo()
 
        owner()->message(_("Undo"));
        cursor().clearSelection();
-       if (!textUndo(this))
+       if (!textUndo(*this))
                owner()->message(_("No further undo information"));
        update();
        switchKeyMap();
@@ -347,7 +347,7 @@ void BufferView::redo()
 
        owner()->message(_("Redo"));
        cursor().clearSelection();
-       if (!textRedo(this))
+       if (!textRedo(*this))
                owner()->message(_("No further redo information"));
        update();
        switchKeyMap();