From 66f527e417de916105680696bd44d7ad91ff60cb Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Sat, 18 Apr 2015 21:40:43 -0400 Subject: [PATCH] Update previews after doing a find/replace (#7242) This commit addresses #7242 for normal Find/Replace. That issue was fixed for Advanced Find at 29948eec. --- src/lyxfind.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index f3b3eef484..e0a786837e 100644 --- a/src/lyxfind.cpp +++ b/src/lyxfind.cpp @@ -386,6 +386,7 @@ bool lyxreplace(BufferView * bv, else bv->message(_("String not found.")); } + bv->buffer().updatePreviews(); return update; } -- 2.39.5