From 37675d0f55dc88b9f9bfdcc6b2111dd7417e4c69 Mon Sep 17 00:00:00 2001 From: tomasklaen Date: Sat, 4 Nov 2023 18:54:40 +0100 Subject: [PATCH] feat: allow pasting to start search closes #767 --- src/uosc/elements/Menu.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/uosc/elements/Menu.lua b/src/uosc/elements/Menu.lua index e51738ce..12f63688 100644 --- a/src/uosc/elements/Menu.lua +++ b/src/uosc/elements/Menu.lua @@ -733,6 +733,9 @@ function Menu:paste() else menu.on_paste(payload) end + elseif menu.search_style ~= 'disabled' then + self:search_start(menu) + self:search_query_update(payload, menu) end end