mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +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;
|
selection() = true;
|
||||||
// A selection with no contents is not a selection
|
// A selection with no contents is not a selection
|
||||||
// FIXME: doesnt look ok
|
// FIXME: doesnt look ok
|
||||||
if (pit() == anchor().pit() && pos() == anchor().pos())
|
if (idx() == anchor().idx() &&
|
||||||
|
pit() == anchor().pit() &&
|
||||||
|
pos() == anchor().pos())
|
||||||
selection() = false;
|
selection() = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user