From: Georg Baum Date: Fri, 5 Jan 2007 09:21:30 +0000 (+0000) Subject: * src/BufferView.C X-Git-Tag: 1.6.10~11334 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9e49efd593b4e389896463e7dc257266017f8a08;p=features.git * 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 --- diff --git a/src/BufferView.C b/src/BufferView.C index d5adcc3bf0..38d9c4d5fc 100644 --- a/src/BufferView.C +++ b/src/BufferView.C @@ -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(); } }