Mercurial > wow > worldplan
diff WorldPlan.lua @ 70:bb2baedae81f
debugging tool for the mystery of disappearing quests
author | Nenue |
---|---|
date | Wed, 05 Apr 2017 12:12:41 -0400 |
parents | 31de7e9e7849 |
children | 6db0b9696936 |
line wrap: on
line diff
--- a/WorldPlan.lua Wed Apr 05 11:36:06 2017 -0400 +++ b/WorldPlan.lua Wed Apr 05 12:12:41 2017 -0400 @@ -539,7 +539,11 @@ WorldPlanSummary:Refresh(true) end elseif arg1 == 'log' then - WorldPlanDebug:SetShown(true) + if WorldPlanDebug:IsShown() then + WorldPlanDebug:SetShown(false) + else + WorldPlanDebug:SetShown(true) + end elseif arg1 == 'debug' then if WorldPlanData then WorldPlanData.DebugEnabled = (not WorldPlanData.DebugEnabled)