View Single Post
08/29/19, 09:11 AM   #7
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,979
If it runs twice at the first search the setupCallback of the rows seem to be called twice somehow.
I don't know why. Maybe due to other addons? Disable all other addons and try if it's still called twice.

Oh and remove this from your code as the stable scene won't be active for the guild store at all
It was the example for the normal inventory which gets called if you buy more inventory space at the stable master.
Lua Code:
  1. --Do not execute if horse is changed
  2.             if SCENE_MANAGER:GetCurrentScene() ~= STABLES_SCENE then
  3.             -- Do your stuff here
  4.             end
  Reply With Quote