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)