This repository was archived by the owner on Jan 21, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -718,11 +718,11 @@ end
718718---- -------------------------------------------------------------------------------------
719719
720720function ACTIONBUTTON :UpdateIcon ()
721- if self .data .macro_Icon then
721+ if self .actionID then
722+ self :SetActionIcon (self .actionID )
723+ elseif self .data .macro_Icon then
722724 self .iconframeicon :SetTexture (self .data .macro_Icon )
723725 self .iconframeicon :Show ()
724- elseif self .actionID then
725- self :SetActionIcon (self .actionID )
726726 elseif self .spell then
727727 self :SetSpellIcon (self .spell )
728728 elseif self .item then
@@ -801,7 +801,8 @@ function ACTIONBUTTON:SetActionIcon(action)
801801 if texture then
802802 self .iconframeicon :SetTexture (texture )
803803 else
804- self .iconframeicon :SetTexture (" INTERFACE\\ ICONS\\ INV_MISC_QUESTIONMARK" )
804+ -- self.iconframeicon:SetTexture("INTERFACE\\ICONS\\INV_MISC_QUESTIONMARK")
805+ self .iconframeicon :SetTexture (" " )
805806 end
806807
807808 self .iconframeicon :Show ()
@@ -863,7 +864,7 @@ function ACTIONBUTTON:SetActionState(action)
863864 self :SetChecked (nil )
864865 end
865866
866- self .button_name :SetText (self . data . macro_Name )
867+ self .button_name :SetText (" " )
867868 self .button_count :SetText (" " )
868869 self :UpdateUsable ()
869870end
You can’t perform that action at this time.
0 commit comments