]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.cpp
Only add inset postion to cache in paintInset
[lyx.git] / src / TextMetrics.cpp
index 6fb12b3734e4de2a4e8dd65a8c9afa5de4bd4691..e69ffe9c225e77fc4581e0439ff564ac7091b0d2 100644 (file)
@@ -1622,7 +1622,7 @@ void TextMetrics::deleteLineForward(Cursor & cur)
                text_->cursorForward(cur);
        } else {
                cur.resetAnchor();
-               cur.setSelection(true); // to avoid deletion
+               cur.selection(true); // to avoid deletion
                cursorEnd(cur);
                cur.setSelection();
                // What is this test for ??? (JMarc)