From e1b60797bf5a61e9b91378575f1576f87d994616 Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 11 Apr 2019 20:38:12 +0200 Subject: [PATCH] actionbar: set button ids on event This is in order to maintain compatibility to addons like TheoryCraft that require a button ID via ":GetID()" --- modules/actionbar.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/actionbar.lua b/modules/actionbar.lua index 533596f0..befcba51 100644 --- a/modules/actionbar.lua +++ b/modules/actionbar.lua @@ -230,6 +230,9 @@ pfUI:RegisterModule("actionbar", 20400, function () return end + -- set the own ID for compatibility + self:SetID(self.id) + local grid = self.bar == 12 and showgrid_pet or showgrid if self.bar == 11 then