diff --git a/2/3/4/5/6/7/ElvUI/Core/StaticPopups.lua b/2/3/4/5/6/7/ElvUI/Core/StaticPopups.lua index 1981b88..46138f6 100644 --- a/2/3/4/5/6/7/ElvUI/Core/StaticPopups.lua +++ b/2/3/4/5/6/7/ElvUI/Core/StaticPopups.lua @@ -576,7 +576,7 @@ end function E:StaticPopup_EditBoxOnEnterPressed() local EditBoxOnEnterPressed, which, dialog - local parent = self:GetParent() + local parent = this:GetParent() if(parent.which) then which = parent.which dialog = parent @@ -586,21 +586,21 @@ function E:StaticPopup_EditBoxOnEnterPressed() end EditBoxOnEnterPressed = E.PopupDialogs[which].EditBoxOnEnterPressed if(EditBoxOnEnterPressed) then - EditBoxOnEnterPressed(self, dialog.data) + EditBoxOnEnterPressed(this, dialog.data) end end function E:StaticPopup_EditBoxOnEscapePressed() - local EditBoxOnEscapePressed = E.PopupDialogs[self:GetParent().which].EditBoxOnEscapePressed + local EditBoxOnEscapePressed = E.PopupDialogs[this:GetParent().which].EditBoxOnEscapePressed if(EditBoxOnEscapePressed) then - EditBoxOnEscapePressed(self, self:GetParent().data) + EditBoxOnEscapePressed(this, this:GetParent().data) end end function E:StaticPopup_EditBoxOnTextChanged(userInput) - local EditBoxOnTextChanged = E.PopupDialogs[self:GetParent().which].EditBoxOnTextChanged + local EditBoxOnTextChanged = E.PopupDialogs[this:GetParent().which].EditBoxOnTextChanged if(EditBoxOnTextChanged) then - EditBoxOnTextChanged(self, self:GetParent().data) + EditBoxOnTextChanged(this, this:GetParent().data) end end diff --git a/2/3/4/5/6/7/ElvUI/Core/distributor.lua b/2/3/4/5/6/7/ElvUI/Core/distributor.lua index 7d19dec..0395444 100644 --- a/2/3/4/5/6/7/ElvUI/Core/distributor.lua +++ b/2/3/4/5/6/7/ElvUI/Core/distributor.lua @@ -521,7 +521,7 @@ E.PopupDialogs["IMPORT_PROFILE_EXISTS"] = { self:GetParent().button1:Enable(); end end, - OnShow = function(self) self.editBox:SetText(D.profileKey); self.editBox:SetFocus(); end, + OnShow = function() this.editBox:SetText(D.profileKey); this.editBox:SetFocus(); end, timeout = 0, whileDead = 1, hideOnEscape = true, diff --git a/2/3/4/5/6/7/ElvUI_Config/Core.lua b/2/3/4/5/6/7/ElvUI_Config/Core.lua index 7171f97..d18828f 100644 --- a/2/3/4/5/6/7/ElvUI_Config/Core.lua +++ b/2/3/4/5/6/7/ElvUI_Config/Core.lua @@ -356,7 +356,6 @@ local function ExportImport_Open(mode) box.scrollFrame:UpdateScrollChildRect() box.scrollFrame:SetVerticalScroll(box.scrollFrame:GetVerticalScrollRange()) - box.scrollFrame:SetFrameLevel(box.scrollFrame:GetParent():GetFrameLevel() - 2) oldText = text end