- made sure the options table gets the LibDualSpec treatment regardless of whether the mod is enabled or not

This commit is contained in:
Parnic
2011-01-26 01:15:31 +00:00
parent fd7d8db005
commit ee8893dac4

View File

@ -666,7 +666,7 @@ function IceHUD_Options:OnLoad()
self.options.args.profiles = LibStub("AceDBOptions-3.0"):GetOptionsTable(IceHUD.db)
-- Add dual-spec support
if IceHUD.db.profile.enable and LibDualSpec then
if IceHUD.db ~= nil and LibDualSpec then
LibDualSpec:EnhanceOptions(IceHUD_Options.options.args.profiles, IceHUD.db)
end