Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
whoops missed an iconframeicon element to switch
Browse files Browse the repository at this point in the history
  • Loading branch information
brittyazel committed Apr 2, 2020
1 parent 7a2c9ab commit 5df80b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Neuron-GUI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2546,7 +2546,7 @@ function NeuronGUI:specUpdateIcon(button,state)
end

else
texture = button.iconframeicon:GetTexture()
texture = button.elements.IconFrameIcon:GetTexture()
end
return texture
end
Expand Down Expand Up @@ -2613,7 +2613,7 @@ function NeuronGUI:MacroEditorUpdate()
if (data) then
NBTNE.macroedit.edit:SetText(data.macro_Text)
if (not data.macro_Icon) then
NBTNE.macroicon.icon:SetTexture(NeuronGUI:specUpdateIcon(button, state))--button.iconframeicon:GetTexture())
NBTNE.macroicon.icon:SetTexture(NeuronGUI:specUpdateIcon(button, state))--button.elements.IconFrameIcon:GetTexture())
elseif (data.macro_Icon == "BLANK") then
NBTNE.macroicon.icon:SetTexture("")
else
Expand Down

0 comments on commit 5df80b2

Please sign in to comment.