* BufferView::putSelectionAt(): Ensure a redraw in any case.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22927 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-02-10 19:18:57 +00:00
parent 149778a0a5
commit 76ec27281b

View File

@ -1730,7 +1730,9 @@ void BufferView::putSelectionAt(DocIterator const & cur,
} else
d->cursor_.setSelection(d->cursor_, length);
}
showCursor();
// Ensure a redraw happens in any case because the new selection could
// possibly be on the same screen as the previous selection.
processUpdateFlags(Update::Force | Update::FitCursor);
}