commit 66f527e417de916105680696bd44d7ad91ff60cb
Author: Scott Kostyshak <[email protected]>
Date: Sat Apr 18 21:40:43 2015 -0400
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.
diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp
index f3b3eef..e0a7868 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;
}