Commit 284ed04e authored by Tukz's avatar Tukz

Install Frame, APPLY button is now hidden after applying a step. This should...

Install Frame, APPLY button is now hidden after applying a step. This should avoid client crash when spamming clicks.
parent 3e1bbec0
......@@ -49,6 +49,8 @@ function Install:Step1()
if (ActionBars) then
SetActionBarToggles(1, 1, 1, 1)
end
self:Hide()
end
function Install:Step2()
......@@ -59,6 +61,8 @@ function Install:Step2()
end
Chat:Install()
self:Hide()
end
function Install:PrintStep(number)
......@@ -107,6 +111,10 @@ function Install:PrintStep(number)
self.CloseButton:Show()
self.MiddleButton:Show()
end
if (self.MiddleButton:IsVisible()) then
self.MiddleButton:Show()
end
if (ExecuteScript) then
self.MiddleButton:SetScript("OnClick", ExecuteScript)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment