WoWInterface - View Single Post - Double-click to sign up for a group in the Premade Groups finder
View Single Post
09-10-20, 03:55 PM   #10
A Flamescale Wyrmkin
Sideshow's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 103
Sorry for maybe hacking this thread, but I'm searching for a double click on a specialization button, in the specialization window.

Yes, i'm a programmer and lazy so I really would prefer not having to click on the spec and then on "Activate"

I've come up with some tests like this:

PlayerTalentFrameSpecializationSpecButton1:SetScript("OnDoubleClick", function () SetSpecialization(1) end)
PlayerTalentFrameSpecializationSpecButton2:SetScript("OnDoubleClick", function () SetSpecialization(2) end)
PlayerTalentFrameSpecializationSpecButton3:SetScript("OnDoubleClick", function () SetSpecialization(3) end)
It works, but not on game load, since PlayerTalentFrame is not created then, but rather when you open it for the first time it seems.
(LFGListFrame IS created on game load, don't know why ...)

Anyone would know a solution maybe?
  Reply With Quote