Leave an empty space above a 2H in your inventory. Drag your offhand/mainhand/Shield/2H into the empty spot above the 2H. If you leave a space and drag your 1h/whatever to that space the item below it will automatically equip.
Quoted TheFreak's excellent post with screenshots from the thread.