summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/TextEditor.cpp
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2023-01-11 16:31:10 +0000
committerAndreas Kling <kling@serenityos.org>2023-01-12 11:25:51 +0100
commita8cf0c9371f7ba500cc4920889bc06d78623e980 (patch)
treee6ac140bb2b697d69417e9ff944576350671a94a /Userland/Libraries/LibGUI/TextEditor.cpp
parenta15d44f019dc60b001c565ce0b940cc87024dbfd (diff)
downloadserenity-a8cf0c9371f7ba500cc4920889bc06d78623e980.zip
LibCore+Userland: Make Core::Timer::create_single_shot() return ErrorOr
clang-format sure has some interesting opinions about where to put a method call that comes after a lambda. :thonk:
Diffstat (limited to 'Userland/Libraries/LibGUI/TextEditor.cpp')
-rw-r--r--Userland/Libraries/LibGUI/TextEditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/TextEditor.cpp b/Userland/Libraries/LibGUI/TextEditor.cpp
index 3236d3c5fc..33eb8cfce1 100644
--- a/Userland/Libraries/LibGUI/TextEditor.cpp
+++ b/Userland/Libraries/LibGUI/TextEditor.cpp
@@ -2265,7 +2265,7 @@ void TextEditor::set_should_autocomplete_automatically(bool value)
m_autocomplete_timer = Core::Timer::create_single_shot(m_automatic_autocomplete_delay_ms, [this] {
if (m_autocomplete_box && !m_autocomplete_box->is_visible())
try_show_autocomplete(UserRequestedAutocomplete::No);
- });
+ }).release_value_but_fixme_should_propagate_errors();
return;
}