From 5cb24765755b6094422ec4a4dbaa788db6c8be85 Mon Sep 17 00:00:00 2001 From: shagu Date: Tue, 22 Nov 2016 21:26:30 +0100 Subject: [PATCH] gui: save values on every text change --- modules/gui.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui.lua b/modules/gui.lua index 495de28f..6d9a55c6 100644 --- a/modules/gui.lua +++ b/modules/gui.lua @@ -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)