]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.cpp
typo
[lyx.git] / src / TextMetrics.cpp
index f8cb3546fb3eb9f114573125fdd983d7552b425a..594b401c558d0d244bc1fa1314036f31bc896837 100644 (file)
@@ -1733,7 +1733,7 @@ void TextMetrics::deleteLineForward(Cursor & cur)
                text_->cursorForward(cur);
        } else {
                cur.resetAnchor();
-               cur.selection() = true; // to avoid deletion
+               cur.setSelection(true); // to avoid deletion
                cursorEnd(cur);
                cur.setSelection();
                // What is this test for ??? (JMarc)