mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
We should at least also check the index. But probably more is needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26147 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1bad3e5232
commit
cf33f88943
@ -968,7 +968,9 @@ void Cursor::setSelection()
|
||||
selection() = true;
|
||||
// A selection with no contents is not a selection
|
||||
// FIXME: doesnt look ok
|
||||
if (pit() == anchor().pit() && pos() == anchor().pos())
|
||||
if (idx() == anchor().idx() &&
|
||||
pit() == anchor().pit() &&
|
||||
pos() == anchor().pos())
|
||||
selection() = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user