diff --git a/Datamine/Modules/ModelView/ModelViewFrames.xml b/Datamine/Modules/ModelView/ModelViewFrames.xml index 952b673..911e4d0 100644 --- a/Datamine/Modules/ModelView/ModelViewFrames.xml +++ b/Datamine/Modules/ModelView/ModelViewFrames.xml @@ -49,7 +49,6 @@ self.Label:SetText(self.LabelText); self.Label:Show(); - self:SetText(""); if not self.Callback then return end; diff --git a/Datamine/Modules/Unified/Templates/ModelScene/ModelScene.lua b/Datamine/Modules/Unified/Templates/ModelScene/ModelScene.lua index 0a55424..d15bb67 100644 --- a/Datamine/Modules/Unified/Templates/ModelScene/ModelScene.lua +++ b/Datamine/Modules/Unified/Templates/ModelScene/ModelScene.lua @@ -495,11 +495,6 @@ function DatamineModelSceneMixin:PlayAnimKit(akid) return actor:PlayAnimationKit(akid); end -function DatamineModelSceneMixin:TryOnTransmogSet() - local actor = self:GetActiveActor(); - local itemModifiedAppearanceIDs = C_TransmogSets.GetAllSourceIDs(transmogSetID); -end - ------------- DatamineModelControlsEditBoxMixin = {}; @@ -1275,3 +1270,7 @@ function DatamineModelControlsAdvancedPanelEntryMixin:Init(node) self.EntryBox:SetNumeric(true); self.EntryBox.Callback = function() data.Callback(self.EntryBox:GetNumber()); end; end + +function DatamineModelControlsAdvancedPanelEntryMixin:OnHide() + self.EntryBox:SetText(""); +end diff --git a/Datamine/Modules/Unified/Templates/ModelScene/ModelScene.xml b/Datamine/Modules/Unified/Templates/ModelScene/ModelScene.xml index 2d448f8..98f421d 100644 --- a/Datamine/Modules/Unified/Templates/ModelScene/ModelScene.xml +++ b/Datamine/Modules/Unified/Templates/ModelScene/ModelScene.xml @@ -174,6 +174,9 @@ + + +