Skip to content

Commit

Permalink
release preparation: disable unfinished functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirroar committed Oct 24, 2014
1 parent 8cab4c4 commit 2b5a7dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions TopFit.toc
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ plugin.class.lua
# plugins: things displayed in config panel
modules\weightsplugin.class.lua
modules\importplugin.class.lua
modules\optimizerplugin.class.lua
modules\itemstatsplugin.class.lua
modules\shoppinglist.lua
# modules\optimizerplugin.class.lua
# modules\itemstatsplugin.class.lua
# modules\shoppinglist.lua
modules\virtual_items.lua

inventory.lua
Expand Down
8 changes: 4 additions & 4 deletions modules/weightsplugin.class.lua
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function WeightsPlugin.InitializeHeaderActions()
end)

-- assign a specialization
local dropDown = CreateFrame("Frame", "TopFitWeightsPluginSpecDropdown", frame, "UIDropDownMenuTemplate")
--[[local dropDown = CreateFrame("Frame", "TopFitWeightsPluginSpecDropdown", frame, "UIDropDownMenuTemplate")
dropDown:SetPoint("RIGHT", frame, "RIGHT", 0, 0)
dropDown:SetPoint("TOP", changeName, "TOP", 0, 0)
_G[dropDown:GetName().."Button"]:SetPoint("LEFT", dropDown, "LEFT", 20, 0) -- makes the whole dropdown react to mouseover
Expand Down Expand Up @@ -177,7 +177,7 @@ function WeightsPlugin.InitializeHeaderActions()
end
end
UIDropDownMenu_Initialize(dropDown, dropDown.initialize)
UIDropDownMenu_Initialize(dropDown, dropDown.initialize)--]]
end

function WeightsPlugin.ShowEditLine(statLine, btn)
Expand Down Expand Up @@ -533,10 +533,10 @@ function WeightsPlugin:OnShow()
newStat:SetBackdropColor(1, 0, 0)

-- update selected specialization
local spec = set:GetAssociatedSpec()
--[[local spec = set:GetAssociatedSpec()
if spec then
UIDropDownMenu_SetSelectedValue(TopFitWeightsPluginSpecDropdown, spec)
else
UIDropDownMenu_SetSelectedValue(TopFitWeightsPluginSpecDropdown, 'none')
end
end--]]
end

0 comments on commit 2b5a7dd

Please sign in to comment.