touchmenu: show menu in MenuSearch

reviewable/pr11495/r1
hius07 3 months ago committed by GitHub
parent 3e7ab199e7
commit d515740fff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1048,6 +1048,10 @@ function TouchMenu:search(search_for)
end
function TouchMenu:openMenu(path, with_animation)
if self.show_parent == self then -- MenuSearch called from dispatcher, menu generated but not opened yet
UIManager:sendEvent(Event:new("ShowMenu", nil, self))
end
local parts = {}
for part in util.gsplit(path, "%.", false) do -- path is ie. "2.3.3.1"
table.insert(parts, tonumber(part))

Loading…
Cancel
Save