mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
fix menu separator
This commit is contained in:
@@ -29,7 +29,7 @@ function UIPopupMenu.addOption(menu, optionName, optionCallback)
|
||||
end
|
||||
|
||||
function UIPopupMenu.addSeparator(menu)
|
||||
local separatorWidget = createWidget(menu:getStyleName() .. 'Separator', separator)
|
||||
local separatorWidget = createWidget(menu:getStyleName() .. 'Separator', menu)
|
||||
end
|
||||
|
||||
-- hooked events
|
||||
|
Reference in New Issue
Block a user