View Single Post
12/04/14, 04:33 PM   #2
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
You have posted exactly the same qustion as a comment to the LibAddonMenu. I was looking into the library code before and I have looked now, but I still didn't find line where is "buttonData.func" called in the code except of "OnClicked" handler:
Lua Code:
  1. button:SetHandler("OnClicked", function(self, ...)
  2.         buttonData.func(self, ...)
  3.         if control.panel.data.registerForRefresh then
  4.             cm:FireCallbacks("LAM-RefreshPanel", control)
  5.         end
  6.     end)

Maybe if you post a code which you use we can find what is going on.
  Reply With Quote