]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.cpp
Improvements to the shortcuts preference dialog (#9174)
[lyx.git] / src / lyxfind.cpp
index 2f7a0b4901d99d58f2c592f0a5ca750eaae0d605..d7038dedcb1e66d4bc96bb8e328e81dd26f295c1 100644 (file)
@@ -385,7 +385,6 @@ bool lyxreplace(BufferView * bv,
                else
                        bv->message(_("String not found."));
        }
-       bv->buffer().updatePreviews();
        return update;
 }
 
@@ -1426,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();
 }