mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-26 05:50:50 +00:00
gui: save values on every text change
This commit is contained in:
+1
-1
@@ -424,7 +424,7 @@ pfUI:RegisterModule("gui", function ()
|
|||||||
this:ClearFocus()
|
this:ClearFocus()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
frame.input:SetScript("OnEditFocusLost", function(self)
|
frame.input:SetScript("OnTextChanged", function(self)
|
||||||
this:GetParent().category[this:GetParent().config] = this:GetText()
|
this:GetParent().category[this:GetParent().config] = this:GetText()
|
||||||
pfUI.gui.settingChanged = true
|
pfUI.gui.settingChanged = true
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user