gui: only ask for reload after textfield focus

This commit is contained in:
shagu
2016-11-26 00:56:01 +01:00
parent 94001b41da
commit c642c13d76
+3
View File
@@ -426,6 +426,9 @@ pfUI:RegisterModule("gui", function ()
frame.input:SetScript("OnTextChanged", function(self)
this:GetParent().category[this:GetParent().config] = this:GetText()
end)
frame.input:SetScript("OnEditFocusGained", function(self)
pfUI.gui.settingChanged = true
end)
end