aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2009-07-25 02:49:15 +0000
committernyamatongwe <unknown>2009-07-25 02:49:15 +0000
commit5102901f8df958fe60fdb0a6d3354ad52bd955c2 (patch)
tree0c74197d2dbd994b8fe78efced6a65774075e209
parent50bbf6003e0c45600ef53a85f1a1eaa596e37069 (diff)
downloadscintilla-mirror-5102901f8df958fe60fdb0a6d3354ad52bd955c2.tar.gz
Call ClaimSelection after clearing selection so ownership of the
primary selection can be released when nothing is selected.
-rw-r--r--src/Editor.cxx1
1 files changed, 1 insertions, 0 deletions
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() {