gui: trigger update function on list changes

This commit is contained in:
dein0s
2019-02-13 18:53:21 +01:00
committed by shagu
parent ba3f0045ff
commit 8ed3d40ef3
+2
View File
@@ -361,6 +361,7 @@ pfUI:RegisterModule("gui", function ()
frame.add:SetScript("OnClick", function()
CreateQuestionDialog(T["New entry:"], function()
category[config] = category[config] .. "#" .. this:GetParent().input:GetText()
if ufunc then ufunc() else pfUI.gui.settingChanged = true end
end, false, true)
end)
@@ -380,6 +381,7 @@ pfUI:RegisterModule("gui", function ()
end
category[config] = newconf
frame.input:Refresh()
if ufunc then ufunc() else pfUI.gui.settingChanged = true end
end)
-- hide shadows on wrong stratas