Branch: refs/heads/master
  Home:   https://github.com/Warzone2100/warzone2100
  Commit: e0c4c9d9df13737bf1c1cc5483f61a8e16877c8c
      
https://github.com/Warzone2100/warzone2100/commit/e0c4c9d9df13737bf1c1cc5483f61a8e16877c8c
  Author: Thiago Barcala <Thiago Barcala>
  Date:   2021-03-06 (Sat, 06 Mar 2021)

  Changed paths:
    M src/hci/build.cpp
    M src/hci/manufacture.cpp
    M src/hci/research.cpp

  Log Message:
  -----------
  Fix crashes related to UI

The new UI widgets reliy on indices in order to keep track of which
game object they refer to.

The forms are responsible for updating the list of objects, and create
or destroy buttons in order to make the amount of buttons match the
amount of object in the game. The forms are doing this during the
`display` method.

Some children were updating their layout in the `run` method, so, it was
possible for a child to try to update its layout, before the form had
the chance to remove the child.




_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits

Reply via email to