mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
* 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:
parent
b1c7fc3e4f
commit
9e49efd593
@ -1016,6 +1016,9 @@ void BufferView::clearSelection()
|
|||||||
if (buffer_) {
|
if (buffer_) {
|
||||||
cursor_.clearSelection();
|
cursor_.clearSelection();
|
||||||
xsel_cache_.set = false;
|
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user