[LyX/master] Remove redundant call (amend 2b7fae04f32c)

Juergen Spitzmueller spitz at lyx.org
Fri Mar 5 06:49:47 UTC 2021


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

    Remove redundant call (amend 2b7fae04f32c)
---
 src/Text3.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/Text3.cpp b/src/Text3.cpp
index 3db37b8..9c7b10f 100644
--- a/src/Text3.cpp
+++ b/src/Text3.cpp
@@ -2675,7 +2675,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);


More information about the lyx-cvs mailing list