From f357d11518796b0e0c2c5f23d8eafeda48226af9 Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 11 Sep 2020 11:39:19 +0800 Subject: ... --- src/ui/controls/TextControlService.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/controls/TextControlService.hpp') diff --git a/src/ui/controls/TextControlService.hpp b/src/ui/controls/TextControlService.hpp index 0d05f2c3..2a7ad0c7 100644 --- a/src/ui/controls/TextControlService.hpp +++ b/src/ui/controls/TextControlService.hpp @@ -202,6 +202,7 @@ class TextControlService : public Object { } void MouseDownHandler(event::MouseButtonEventArgs& args) { + this->control_->RequestFocus(); if (this->select_down_button_.has_value()) { return; } else { -- cgit v1.2.3