From 448e49216af0a148e033a8fbef3da35b59840d72 Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 1 Dec 2014 17:27:41 +0000 Subject: [PATCH] CodeEditor: Fixed mouse shape when clicking the bar #932 git-svn-id: svn://ultimatepp.org/upp/trunk@7939 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/CodeEditor/EditorBar.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uppsrc/CodeEditor/EditorBar.cpp b/uppsrc/CodeEditor/EditorBar.cpp index eb0fcaa57..03a98a6a3 100644 --- a/uppsrc/CodeEditor/EditorBar.cpp +++ b/uppsrc/CodeEditor/EditorBar.cpp @@ -178,8 +178,10 @@ void EditorBar::LeftDown(Point p, dword flags) if(p.x > GetSize().cx - annotations) WhenAnnotationClick(); else - if(editor) + if(editor) { editor->LeftDown(Point(0, p.y), flags); + ReleaseCtrlCapture(); + } } String& EditorBar::PointBreak(int& y)