[LyX/2.3.x] Remove redundant call (amend 2b7fae04f32c)

Juergen Spitzmueller spitz at lyx.org
Sat Mar 6 07:03:58 UTC 2021


commit 74ebb1de7f74e1319f2172e5a03f5707f2a30438
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Fri Mar 5 07:54:17 2021 +0100

    Remove redundant call (amend 2b7fae04f32c)
    
    (cherry picked from commit 23fc1b270d0e3a7ac4ac121115af07f7f1c69a36)
---
 src/Text3.cpp |    1 -
 status.23x    |    2 ++
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/Text3.cpp b/src/Text3.cpp
index 020529d..7ec8947 100644
--- a/src/Text3.cpp
+++ b/src/Text3.cpp
@@ -2515,7 +2515,6 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
 			if (arg.size() > 100 || arg.empty()) {
 				if (cur.selection()) {
 					DocIterator selbeg = cur.selectionBegin();
-					cur.selection(false);
 					cur.clearSelection();
 					setCursorIntern(cur, selbeg.pit(), selbeg.pos());
 					cur.screenUpdateFlags(Update::Force);
diff --git a/status.23x b/status.23x
index 441d2dd..67a3f0d 100644
--- a/status.23x
+++ b/status.23x
@@ -99,6 +99,8 @@ What's new
 
 - Fix crash with undo when the document has errors (bug 12163).
 
+- Fix Thesaurus usage with large text selection (#10528).
+
 
 * INTERNALS
 


More information about the lyx-cvs mailing list