diff options.lua @ 116:fc2ff128835a

- Reset the 'clean' markers on all default-function option toggles. - Fix a long-standing FIXME: Move all lib-scrollingtable and other "display-only" data out of g_loot entries and into their own subclass- style table; feed that to ST's SetData instead. No more 'cols'.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Thu, 16 Aug 2012 17:11:57 -0400
parents 289c7667adab
children a88d485123b8
line wrap: on
line diff
--- a/options.lua	Tue Aug 14 20:37:12 2012 -0400
+++ b/options.lua	Thu Aug 16 17:11:57 2012 -0400
@@ -80,6 +80,8 @@
 		w:SetValue(opts[opt])
 		w:SetCallback("OnValueChanged", opt_func or (function(_w,event,value)
 			opts[opt] = value
+			addon.loot_clean = nil
+			addon.hist_clean = nil
 		end))
 	end
 	return w
@@ -180,11 +182,11 @@
 
 	-- showing the "(from Rebroadcasterdude)" in the notes column
 	w = mktoggle('display_bcast_from', "Show rebroadcasting player", stdw,
-		[[Include "from PlayerName" in the Notes column for loot that was broadcast to you.  (Not included in forum output).]],
+		[[Include "from PlayerName" in the Notes column for loot that was broadcast to you.  (Not included in forum output).]])--[[
 		function(_w,_e,value)
 			opts.display_bcast_from = value
 			addon.loot_clean = nil
-		end)
+		end)]]
 	container:AddChild(w)
 
 	-- prefilling g_uniques with history