From 31872258b18e81d5f973080e5130ebf49db3271f Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 20 Apr 2025 17:40:09 +0530 Subject: Some more lua api specs --- src/WindowActionRouter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/WindowActionRouter.cpp') diff --git a/src/WindowActionRouter.cpp b/src/WindowActionRouter.cpp index 424dda9..2eabc94 100644 --- a/src/WindowActionRouter.cpp +++ b/src/WindowActionRouter.cpp @@ -64,7 +64,7 @@ void WindowActionRouter::initialize(Configuration *config) { // Search connect(&runtime, &LuaRuntime::search_requested, this, [this](const QString &text, WebViewId webview_id) { - current_search_text = text.trimmed(); + set_current_search_text(text.trimmed()); find_current_search_text(webview_id, true); }); connect(&runtime, &LuaRuntime::search_next_requested, this, -- cgit v1.3.1