From 5102901f8df958fe60fdb0a6d3354ad52bd955c2 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 25 Jul 2009 02:49:15 +0000 Subject: Call ClaimSelection after clearing selection so ownership of the primary selection can be released when nothing is selected. --- src/Editor.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index d0c270184..ee44a6972 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3768,6 +3768,7 @@ void Editor::ClearSelection() { } } sel.RemoveDuplicates(); + ClaimSelection(); } void Editor::ClearAll() { -- cgit v1.2.3