Skip to content

Commit

Permalink
Fixing getMenuItems call which broke after Hammerspoon v0.9.56.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Hartin committed Sep 18, 2017
1 parent 40258c6 commit c7d5566
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file removed .menupenny.lua.swp
Binary file not shown.
2 changes: 1 addition & 1 deletion menupenny.lua
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function init()
local menuItemPaths
local title = current:title()
if menuItemCache[title] == nil then
local menuItems = current:getMenuItems(current)
local menuItems = current:getMenuItems()
menuItemCache[title] = menuItemsToPaths(menuItems, nil)
end
menuItemPaths = menuItemCache[title]
Expand Down

0 comments on commit c7d5566

Please sign in to comment.