Remove redundant call (amend 2b7fae04f3)

(cherry picked from commit 23fc1b270d)
This commit is contained in:
Juergen Spitzmueller 2021-03-05 07:54:17 +01:00
parent a44d0d2652
commit 74ebb1de7f
2 changed files with 2 additions and 1 deletions

View File

@ -2515,7 +2515,6 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
if (arg.size() > 100 || arg.empty()) { if (arg.size() > 100 || arg.empty()) {
if (cur.selection()) { if (cur.selection()) {
DocIterator selbeg = cur.selectionBegin(); DocIterator selbeg = cur.selectionBegin();
cur.selection(false);
cur.clearSelection(); cur.clearSelection();
setCursorIntern(cur, selbeg.pit(), selbeg.pos()); setCursorIntern(cur, selbeg.pit(), selbeg.pos());
cur.screenUpdateFlags(Update::Force); cur.screenUpdateFlags(Update::Force);

View File

@ -99,6 +99,8 @@ What's new
- Fix crash with undo when the document has errors (bug 12163). - Fix crash with undo when the document has errors (bug 12163).
- Fix Thesaurus usage with large text selection (#10528).
* INTERNALS * INTERNALS