* src/BufferView.C

(BufferView::clearSelection): Trigger a redraw so that the cleared
	selection becomes visible


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16524 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2007-01-05 09:21:30 +00:00
parent b1c7fc3e4f
commit 9e49efd593

View File

@ -1016,6 +1016,9 @@ void BufferView::clearSelection()
if (buffer_) {
cursor_.clearSelection();
xsel_cache_.set = false;
// The buffer did not really change, but this causes the
// redraw we need because we cleared the selection above.
buffer_->changed();
}
}