Menu

#2732 Open Colony window hides Map Controls and does not return them

Fixed_0.11.2
closed-fixed
nobody
None
5
2015-01-22
2014-10-27
Simon Small
No

Open the Colony window hides the Map Controls, which is expected, but does not return them when the Colony window is closed. This means that, for example, the End Turn button is not shown

Discussion

  • Simon Small

    Simon Small - 2014-10-27

    I have checked several other windows, but I cannot see a pattern for how they behave. I fixed it in my system by adding a line to the end of the ColonyPanel.closeColonyPanel method:

    getGUI().showMapControls(true);

    I don't understand the code enough to know if this is correct

     
  • Mike Pope

    Mike Pope - 2014-10-28

    I don't understand the code enough to know if this is correct

    The map controls, and indeed much of the UI, is often mysterious to me too. Nevertheless ISTM that updateMapControls() is the right tool for this problem. Committed in git.461a8d6. Let us know if that works for you (ditto BR#2720).

     
  • Mike Pope

    Mike Pope - 2014-11-07
    • status: open --> open-needs-info
     
  • Ron Wheeler

    Ron Wheeler - 2015-01-14

    I was having the same problem and this seems to have been fixed in the latest release

     
  • Mike Pope

    Mike Pope - 2015-01-22
    • status: open-needs-info --> closed-fixed
    • Group: Current --> Fixed_0.11.2
     

Log in to post a comment.