Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Clean_Up_GUI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ function SetupSlash()
Clean_Up_GUI_Settings.reversed = not Clean_Up_GUI_Settings.reversed
Print('Sort order: ' .. (Clean_Up_GUI_Settings.reversed and 'Reversed' or 'Standard'))
end

_G.SLASH_BAGSORT1 = '/bagsort'
function _G.SlashCmdList.BAGSORT(arg)
PlaySoundFile[[Interface\AddOns\Clean_Up_GUI\UI_BagSorting_01.ogg]]
Clean_Up('bags', Clean_Up_GUI_Settings.reversed)
end
end

function CleanUpButton(parent)
Expand Down