]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.cpp
Keep dialog connected to cross-ref inset after Apply.
[lyx.git] / src / Paragraph.cpp
index d954e1e5a52beef55af6c83fdf422a96af495750..cc0a765791c8953321bb3ea6bd4d44095c66f0b4 100644 (file)
@@ -4393,6 +4393,7 @@ int Paragraph::find(docstring const & str, bool cs, bool mw,
                        if (pos == parsize - 1)
                                break;
                        pos++;
+                       --i;
                        continue;
                }
                // Ignore "invisible" letters such as ligature breaks