mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
clearSelection invokes resetAnchor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26145 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3d9f151e00
commit
3589a75a11
@ -1998,7 +1998,6 @@ bool Cursor::fixIfBroken()
|
||||
{
|
||||
if (DocIterator::fixIfBroken()) {
|
||||
clearSelection();
|
||||
resetAnchor();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@ -2090,8 +2089,7 @@ bool Cursor::textUndo()
|
||||
return false;
|
||||
// Set cursor
|
||||
setCursor(dit);
|
||||
selection() = false;
|
||||
resetAnchor();
|
||||
clearSelection();
|
||||
fixIfBroken();
|
||||
return true;
|
||||
}
|
||||
@ -2105,8 +2103,7 @@ bool Cursor::textRedo()
|
||||
return false;
|
||||
// Set cursor
|
||||
setCursor(dit);
|
||||
selection() = false;
|
||||
resetAnchor();
|
||||
clearSelection();
|
||||
fixIfBroken();
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user