[Commits] [wesnoth/wesnoth] f8f297: MP Options Helper: fixed tree not being cleared wh...

GitHub noreply at github.com
Sat Nov 5 02:16:02 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: f8f2979b698e70e1ad23c6b4572f7966967bf4ba
      https://github.com/wesnoth/wesnoth/commit/f8f2979b698e70e1ad23c6b4572f7966967bf4ba
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-11-05 (Sat, 05 Nov 2016)

  Changed paths:
    M src/gui/dialogs/multiplayer/mp_options_helper.cpp

  Log Message:
  -----------
  MP Options Helper: fixed tree not being cleared when calling update_all_options

Since we manually clear node_data_map_ instead of iterating over it and removing each contained node,
we also need to clear the tree or else nodes are never removed.





More information about the Commits mailing list