Fix bug 3101 and 3108

http://bugzilla.lyx.org/show_bug.cgi?id=3101
http://bugzilla.lyx.org/show_bug.cgi?id=3108

* BufferView::setCursor(): delete the call to cursor_.setTargetX(). This is called differently for any LFUN anyway.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16723 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-01-17 12:29:18 +00:00
parent 891a046862
commit 67ae65f430

View File

@ -1244,8 +1244,6 @@ void BufferView::setCursor(DocIterator const & dit)
dit[i].inset().edit(cursor_, true);
cursor_.setCursor(dit);
// remember new position.
cursor_.setTargetX();
cursor_.selection() = false;
}