Crash possible when using console with open container.
While testing changes for bug #1544 (closed), based on commit 387cdcfb from master, I found that it was possible to crash openmw with the following sequence:
- Open a container, and add an item to it (a new one, that doesn't stack with prior items).
- Open the console.
- Select the container for console focus.
- Drop the item from the container. (Drop 1)
- Close the console.
- Click on the icon for the item in the container (still present, though it should be gone).
Updating the container window after the drop command (or any change to the container's inventory) should prevent the crash.
(RM-3134 from redmine: created on 2016-01-07 by Jordan Ayers, , closed on 2016-12-16 by scrawl .)