X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxfind.cpp;h=d7038dedcb1e66d4bc96bb8e328e81dd26f295c1;hb=044933b0d929e759d0c7badf55eafc471623cc0c;hp=f46bed9ac5fc41cf17be3c4b0b2b3c9817d4d0c1;hpb=a7a143950a9c770be022b20cba760f5f9ef7b333;p=lyx.git diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index f46bed9ac5..d7038dedcb 100644 --- a/src/lyxfind.cpp +++ b/src/lyxfind.cpp @@ -1425,7 +1425,6 @@ static void findAdvReplace(BufferView * bv, FindAndReplaceOptions const & opt, M LYXERR(Debug::FIND, "After pos adj cur=" << cur << " with depth: " << cur.depth() << " and len: " << sel_len); bv->putSelectionAt(DocIterator(cur), sel_len, !opt.forward); bv->processUpdateFlags(Update::Force); - bv->buffer().updatePreviews(); }