]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.cpp
If the "force" flag is in effect and a textmode command from the unicodesymbols
[lyx.git] / src / BufferView.cpp
index 054fadbbabab473aa0f3fbe0db7aca753e1b8f13..ecb513f81e746e527666f12ea18f6dc418850ac1 100644 (file)
@@ -1188,6 +1188,10 @@ bool BufferView::dispatch(FuncRequest const & cmd)
                FuncRequest req = cmd;
                if (cmd.argument().empty() && !d->search_request_cache_.argument().empty())
                        req = d->search_request_cache_;
+               if (req.argument().empty()) {
+                       theLyXFunc().dispatch(FuncRequest(LFUN_DIALOG_SHOW, "findreplace"));
+                       break;
+               }
                if (find(this, req))
                        showCursor();
                else