[LyX/master] Select search string after inserting from find buffer
Juergen Spitzmueller
spitz at lyx.org
Thu Feb 18 14:52:46 UTC 2021
commit ed2f3dae5cae24e29ec81e4651b81a1fd5a9835f
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Thu Feb 18 15:55:05 2021 +0100
Select search string after inserting from find buffer
---
src/frontends/qt/GuiSearch.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/frontends/qt/GuiSearch.cpp b/src/frontends/qt/GuiSearch.cpp
index 0d3790c..e938d0c 100644
--- a/src/frontends/qt/GuiSearch.cpp
+++ b/src/frontends/qt/GuiSearch.cpp
@@ -335,6 +335,7 @@ void GuiSearchWidget::findBufferChanged()
LYXERR(Debug::CLIPBOARD, "from findbuffer: " << search);
findCO->lineEdit()->selectAll();
findCO->lineEdit()->insert(toqstr(search));
+ findCO->lineEdit()->selectAll();
}
}
More information about the lyx-cvs
mailing list