diff --git a/Libs/DF/fw.lua b/Libs/DF/fw.lua index fd02512f3..c35f307aa 100644 --- a/Libs/DF/fw.lua +++ b/Libs/DF/fw.lua @@ -1,6 +1,6 @@ -local dversion = 586 +local dversion = 587 local major, minor = "DetailsFramework-1.0", dversion local DF, oldminor = LibStub:NewLibrary(major, minor) diff --git a/Libs/DF/panel.lua b/Libs/DF/panel.lua index 8d8d434fe..2a968c2fe 100644 --- a/Libs/DF/panel.lua +++ b/Libs/DF/panel.lua @@ -1505,7 +1505,7 @@ if ((ColorPickerFrame and ColorPickerFrame.SetupColorPickerAndShow) or toc >= 10 local color_pick_func_cancel = function() local r, g, b, a = ColorPickerFrame.previousValues.r, ColorPickerFrame.previousValues.g, ColorPickerFrame.previousValues.b, ColorPickerFrame.previousValues.a - ColorPickerFrame.Content.ColorPicker:SetColorRGB(r, g, b) --error here: attempt to index field 'Content' (a nil value) + ColorPickerFrame:SetColorRGB(r, g, b) ColorPickerFrame:dcallback (r, g, b, a, ColorPickerFrame.dframe) end