View Single Post
06-27-10, 09:18 AM   #6
Kodewulf
Premium Member
 
Kodewulf's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 114
Originally Posted by spiel2001 View Post
Kodewulf --

Is the GUI config messing with the chat frames? If so, it's probably breaking the GUI config and that might be why the Recount/Omen thing is acting up.
Nope all I'm doing is setting the "enabled" flag on nUI_InfoPanels[nUI_INFOPANEL_OMEN] and nUI_InfoPanels[nUI_INFOPANEL_RECOUNT]. I think my detection of Omen and Recount is a bit screwy though, that's why I just disabled it for now. Will have to do some more testing before I let it go into the wild again.

Code:
	if nUI_Options.gui.infopanels ~= nil then
		if (nUI_InfoPanels[nUI_INFOPANEL_OMEN]) then
			nUI_InfoPanels[nUI_INFOPANEL_OMEN]["enabled"] = nUI_Options.gui.infopanels.omen
		end
		
		if (nUI_InfoPanels[nUI_INFOPANEL_RECOUNT]) then
			nUI_InfoPanels[nUI_INFOPANEL_RECOUNT]["enabled"] = nUI_Options.gui.infopanels.recount
		end
	end
-- Kodewulf
__________________
I will never forget. I will never regret. I will live my life.