How to delete/edit a quickbar item?

I'm a bit clumsy with the UI/hotkeys so I have several items on my quickbar that shouldn't be there. Because they're duplicates or just the wrong item.

How can I remove or edit these items?

This is about the new quickbar that came in .17.


Solution 1:

The default keybind is the Middle Mouse Button. Middle click on an item in the quickbar to remove it, and you can add a new item in that slot.

If you have no middle mouse button or just want to change it, it can be found in the controls menu under Inventory, Toggle Filter. Changing it to the right mouse button this way worked just fine and didn't conflict with anything.