Quantcast
WoWInterface - View Single Post - Having trouble with multiple frames and switching data between them.
View Single Post
01-19-21, 06:22 PM   #9
LudiusMaximus
A Frostmaul Preserver
 
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 278
I'm not sure, if this works:
Lua Code:
  1. function EZTest_Config.DismountCheck.setFunc(state)
  2.   EZTestData.Config_Dismount = state
  3.   lib.ApplyLayout()
  4. end

Try this and put a print in there to see if anything is happening at all when you click the button:
Lua Code:
  1. EZTest_Config.DismountCheck.setFunc = function(state)
  2.   print("This is the DismountCheck button getting", state)
  3.   EZTestData.Config_Dismount = state
  4.   lib.ApplyLayout()
  5. end
__________________
~ Be the change you want to see in the world... of warcraft interface! ~
  Reply With Quote