comparison gui.lua @ 59:1cbaa1ce8253

Make debug note more visible here.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Tue, 17 Apr 2012 08:40:34 +0000
parents 59718ec80610
children 69fd720f853e
comparison
equal deleted inserted replaced
58:59718ec80610 59:1cbaa1ce8253
1174 end) 1174 end)
1175 specials:AddChild(w) 1175 specials:AddChild(w)
1176 if addon:is_plugin(text_kind) then 1176 if addon:is_plugin(text_kind) then
1177 local pname = addon:is_plugin(text_kind):GetName() 1177 local pname = addon:is_plugin(text_kind):GetName()
1178 w = mkbutton("Reset SVs & ReloadUI", 1178 w = mkbutton("Reset SVs & ReloadUI",
1179 ([[+DEBUG:> Reset savedvariables for %s plugin back to defaults, and trigger a UI reload.]]):format(pname)) 1179 ([[<DEBUG:> Reset savedvariables for %s plugin back to defaults, and trigger a UI reload.]]):format(pname))
1180 w:SetFullWidth(true) 1180 w:SetFullWidth(true)
1181 w:SetCallback("OnClick", function(_w) 1181 w:SetCallback("OnClick", function(_w)
1182 _G['OuroLoot'..pname..'_opts'] = nil 1182 _G['OuroLoot'..pname..'_opts'] = nil
1183 ReloadUI() 1183 ReloadUI()
1184 end) 1184 end)