diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index 0834d7cb6e..937838d51b 100644 --- a/src/lyxfind.cpp +++ b/src/lyxfind.cpp @@ -1223,6 +1223,7 @@ static void findAdvReplace(BufferView * bv, FindAndReplaceOptions const & opt, M bv->buffer().markDirty(); cur.pos() -= repl_buffer.paragraphs().begin()->size(); bv->putSelectionAt(DocIterator(cur), repl_buffer.paragraphs().begin()->size(), !opt.forward); + bv->processUpdateFlags(Update::Force); }