gui: save values on every text change

This commit is contained in:
shagu
2016-11-22 21:26:30 +01:00
parent 732c1b1d74
commit 5cb2476575
+1 -1
View File
@@ -424,7 +424,7 @@ pfUI:RegisterModule("gui", function ()
this:ClearFocus()
end)
frame.input:SetScript("OnEditFocusLost", function(self)
frame.input:SetScript("OnTextChanged", function(self)
this:GetParent().category[this:GetParent().config] = this:GetText()
pfUI.gui.settingChanged = true
end)