]> git.lyx.org Git - lyx.git/blobdiff - src/cursor.C
Two fixes involving RtL text drawing
[lyx.git] / src / cursor.C
index 2ed2722129c922d21fd898a360bfdeba1cd33107..816981e2a333784e462abaa6a21225a3d112e529 100644 (file)
@@ -468,9 +468,6 @@ void LCursor::setSelection(DocIterator const & where, size_t n)
        selection() = true;
        anchor_ = where;
        pos() += n;
-       // Open all collapsed insets
-       for (int i = depth() - 1; i >= 0; --i)
-               operator[](i).inset().setStatus(*this, InsetBase::Open);
 }