From c630a71c73076f7d2ffc827814f5d1191979aed2 Mon Sep 17 00:00:00 2001 From: myk002 Date: Sun, 6 Nov 2022 16:58:44 -0800 Subject: [PATCH] click on arrow to launch gui/launcher with command --- plugins/lua/hotkeys.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/lua/hotkeys.lua b/plugins/lua/hotkeys.lua index 1cd0e74c4..1750d5470 100644 --- a/plugins/lua/hotkeys.lua +++ b/plugins/lua/hotkeys.lua @@ -144,6 +144,13 @@ function MenuScreen:onInput(keys) elseif keys.STANDARDSCROLL_RIGHT then self:onSubmit2(self.subviews.list:getSelected()) return true + elseif keys._MOUSE_L then + local list = self.subviews.list + local x = list:getMousePos() + if x == 0 then -- clicked on icon + self:onSubmit2(list:getSelected()) + return true + end end return self:inputToSubviews(keys) end