[messages] [Technical Support & Bugs] PrivateMap doesnt hide on sideChange()

spotlight2001 waltermauritz at gmx.at
Mon May 22 09:39:45 CEST 2017


class PrivateMap
...
  public void sideChanged(String oldSide, String newSide) {
    super.sideChanged(oldSide, newSide);
    ((View)getView()).disableListeners();
    if (isAccessibleTo(newSide)) {
      ((View)getView()).enableListeners();
    }
    launchButton.setEnabled(isVisibleTo(PlayerRoster.getMySide()));
  }
...



expect: hide map on side change
actual: still visible on side change; only launchButton is disabled

_______________________________________________
Read this topic online here:
http://www.vassalengine.org/forum/viewtopic.php?p=53683#p53683


More information about the messages mailing list