diff --git a/.gitignore b/.gitignore index 44356e3..95d5645 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,6 @@ .install .lua/* .vscode -.idea \ No newline at end of file +.idea +deploy.bat +claude.md \ No newline at end of file diff --git a/TradeSkillMaster_Crafting/Modules/CraftingGUI.lua b/TradeSkillMaster_Crafting/Modules/CraftingGUI.lua index a6fa526..5711116 100644 --- a/TradeSkillMaster_Crafting/Modules/CraftingGUI.lua +++ b/TradeSkillMaster_Crafting/Modules/CraftingGUI.lua @@ -2041,7 +2041,12 @@ function GUI:CreateGatheringSelectionFrame(parent) dropdown:SetMultiselect(true) dropdown:SetCallback("OnValueChanged", function(_, _, profession, value) private.gather.professions[profession] = value or nil - GUI:UpdateGatherSelectionWindow() + -- Only update the button state, don't rebuild the dropdown list + if next(private.gather.professions) then + frame.gatherButton:Enable() + else + frame.gatherButton:Disable() + end end) frame.professionDropdown = dropdown