CleverRaven/Cataclysm-DDA — pull request #5491 by BevapDin (2014-01-10 13:07:35+00:00)
Title: recalculate both panes of the adv. inventory after an item has been used

Redraw both panes of the adv. inventory, after showing the inventory item menu.
Some actions can affect the list of items on the surrounding squares.

Example: drop a rag on a square, open adv. inventory, select the square with the rag and the inventory. Use a sewing kit in your inventory to reinforce some cloth. This will use the rag an the ground (assuming it's the only rag around).
But the adv. inventory does not update the view and still shows the rag there. Trying to move that rag causes a segfault.