View Single Post
08-21-14, 01:49 PM   #2
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 404
That last line should just be:
Code:
btnLock:SetScript("OnClick", printTest)
Using printTest() is trying to use the return of the function call where just printTest is passing the function itself.
  Reply With Quote