[Commits] [wesnoth/wesnoth] 396dd0: Campaign Dialog: fix mod toggling (fixup 66b590b7)

GitHub noreply at github.com
Mon Feb 20 03:41:09 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 396dd05e817e65f0d460dedccdf49bc69887d33c
      https://github.com/wesnoth/wesnoth/commit/396dd05e817e65f0d460dedccdf49bc69887d33c
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-02-20 (Mon, 20 Feb 2017)

  Changed paths:
    M src/gui/dialogs/campaign_selection.cpp

  Log Message:
  -----------
  Campaign Dialog: fix mod toggling (fixup 66b590b7)

Turns out I made a mistake in that commit. Since the create engine interface relies on toggling a mod, not actually
setting its state directly, my method of toggling a mod if it was selected meant a mod could never been de-selected.

This reverts mod toggling to a callback-based system, using the method implemented in 693e4b4f.





More information about the Commits mailing list