aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-12-28 23:05:06 +0800
committercrupest <crupest@outlook.com>2020-12-28 23:05:06 +0800
commit7b6ca6e8a158868da316351b64e64ab1cdb5872c (patch)
tree29b9e58a396d43008fbb27fc6176ac1ed74d7e97 /src/ui/controls
parentfb280cc30e1012e18b47e43f783ddd4b33bf9d1c (diff)
downloadcru-7b6ca6e8a158868da316351b64e64ab1cdb5872c.tar.gz
cru-7b6ca6e8a158868da316351b64e64ab1cdb5872c.tar.bz2
cru-7b6ca6e8a158868da316351b64e64ab1cdb5872c.zip
...
Diffstat (limited to 'src/ui/controls')
-rw-r--r--src/ui/controls/TextHostControlService.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/controls/TextHostControlService.cpp b/src/ui/controls/TextHostControlService.cpp
index 502f63f9..07b4f1e8 100644
--- a/src/ui/controls/TextHostControlService.cpp
+++ b/src/ui/controls/TextHostControlService.cpp
@@ -346,7 +346,6 @@ void TextHostControlService::GainFocusHandler(
input_method_context_event_guard_ +=
input_method_context->TextEvent()->AddHandler(
[this](const std::u16string_view& text) {
- if (text == u"\b") return;
this->ReplaceSelectedText(text);
});