From dd844d48ee73eef6cc0b9b8fb001eec5020dcc02 Mon Sep 17 00:00:00 2001 From: Alar of Daggerspine Date: Thu, 21 Jan 2016 23:24:28 +0100 Subject: [PATCH] Check for Addon being fully updated (wow restart done) --- GarrisonCommander.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GarrisonCommander.lua b/GarrisonCommander.lua index ac77f78..de0102f 100644 --- a/GarrisonCommander.lua +++ b/GarrisonCommander.lua @@ -1531,7 +1531,7 @@ print("Setup") tabHP:SetPoint('TOPLEFT',GCF,'TOPRIGHT',0,-10) tabHP:SetScript("OnClick",function(this,button) addon:ShowHelpWindow(this,button) end) local tabQ=CreateFrame("Button",nil,GMF,"SpellBookSkillLineTabTemplate") - --if self.RunQuick then + if self.RunQuick then GMF.tabQ=tabQ tabQ.tooltip=L["Automatically process completed missions and schedules new ones."].."\n".. format(L["Check %s in mission control in order to be also logged out"],L["Auto Logout"]) @@ -1540,7 +1540,7 @@ print("Setup") tabQ:Show() tabQ:SetScript("OnClick",function(this,button) addon:RunQuick() end) tabQ:SetPoint('TOPLEFT',GCF,'TOPRIGHT',0,-210) - --end + end local ref=GMFMissions.CompleteDialog.BorderFrame.ViewButton local bt = CreateFrame('BUTTON','GarrisonCommanderQuickMissionComplete', ref, 'UIPanelButtonTemplate') bt:SetWidth(300) @@ -1582,7 +1582,7 @@ function addon:AddMenu() local menu,size if GMF.MissionTab:IsVisible() then self.currentmenu=GMF.MissionTab - menu,size=self:CreateOptionsLayer(MP and 'CKMP' or nil,'BIGSCREEN','IGM','IGP','MSORT','MAXRES','MAXRESCHANCE','NOFILL','USEFUL','MOVEPANEL') + menu,size=self:CreateOptionsLayer(MP and 'CKMP' or nil,'BIGSCREEN','IGM','IGP','MSORT','MAXRES','MAXRESCHANCE','NOFILL','USEFUL','MOVEPANEL','AUTOLOGOUT') elseif GMF.FollowerTab:IsVisible() then local missionlist=ns.bigscreen or self:GetBoolean("FOLLOWERMISSIONLIST") self.currentmenu=GMF.FollowerTab -- 1.7.9.5