Quantcast
WoWInterface - View Single Post - Double-click to sign up for a group in the Premade Groups finder
View Single Post
08-12-16, 08:12 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
This will probably work:

Code:
local function OnDoubleClick(self, button)
    LFGListSearchPanel_SignUp(self:GetParent():GetParent():GetParent())
end

for _, button in pairs(LFGListFrame.SearchPanel.ScrollFrame.buttons) do
    button:SetScript("OnDoubleClick", OnDoubleClick)
end
You can use http://addon.bool.no/ to turn it into an addon.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Donít message me about addon bugs or programming questions.
  Reply With Quote