mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 21:40:49 +00:00
gui: trigger update function on list changes
This commit is contained in:
@@ -361,6 +361,7 @@ pfUI:RegisterModule("gui", function ()
|
|||||||
frame.add:SetScript("OnClick", function()
|
frame.add:SetScript("OnClick", function()
|
||||||
CreateQuestionDialog(T["New entry:"], function()
|
CreateQuestionDialog(T["New entry:"], function()
|
||||||
category[config] = category[config] .. "#" .. this:GetParent().input:GetText()
|
category[config] = category[config] .. "#" .. this:GetParent().input:GetText()
|
||||||
|
if ufunc then ufunc() else pfUI.gui.settingChanged = true end
|
||||||
end, false, true)
|
end, false, true)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
@@ -380,6 +381,7 @@ pfUI:RegisterModule("gui", function ()
|
|||||||
end
|
end
|
||||||
category[config] = newconf
|
category[config] = newconf
|
||||||
frame.input:Refresh()
|
frame.input:Refresh()
|
||||||
|
if ufunc then ufunc() else pfUI.gui.settingChanged = true end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- hide shadows on wrong stratas
|
-- hide shadows on wrong stratas
|
||||||
|
|||||||
Reference in New Issue
Block a user