commit 4d21c899a88dc561c8bce48b2ef6b391ed3da2d7
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Mon Apr 12 09:21:57 2021 +0200

    Set advanced repl_buffer internal as well (#12246)
---
 src/lyxfind.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp
index a3a0b8b..51f1b90 100644
--- a/src/lyxfind.cpp
+++ b/src/lyxfind.cpp
@@ -1455,6 +1455,7 @@ static void findAdvReplace(BufferView * bv, 
FindAndReplaceOptions const & opt, M
        repl_buffer_orig.write(oss);
        string lyx = oss.str();
        Buffer repl_buffer("", false);
+       repl_buffer.setInternal(true);
        repl_buffer.setUnnamed(true);
        LASSERT(repl_buffer.readString(lyx), return);
        if (opt.keep_case && sel_len >= 2) {
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to