aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/TextControlService.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-09-11 11:39:19 +0800
committercrupest <crupest@outlook.com>2020-09-11 11:39:19 +0800
commitf357d11518796b0e0c2c5f23d8eafeda48226af9 (patch)
tree503c2a8e23fb2fcf35aaea054120ee1402337b0a /src/ui/controls/TextControlService.hpp
parent93b8a62d28f9427f0979d62b71f12fb2858064ee (diff)
downloadcru-f357d11518796b0e0c2c5f23d8eafeda48226af9.tar.gz
cru-f357d11518796b0e0c2c5f23d8eafeda48226af9.tar.bz2
cru-f357d11518796b0e0c2c5f23d8eafeda48226af9.zip
...
Diffstat (limited to 'src/ui/controls/TextControlService.hpp')
-rw-r--r--src/ui/controls/TextControlService.hpp1
1 files changed, 1 insertions, 0 deletions
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 {