[Commits] [wesnoth/wesnoth] 07169f: tpreferences: fixup ad8468698916

GitHub noreply at github.com
Sun Feb 21 10:00:45 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 07169f5e7afe146bd0a02190183bfd7710039f2f
      https://github.com/wesnoth/wesnoth/commit/07169f5e7afe146bd0a02190183bfd7710039f2f
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-02-21 (Sun, 21 Feb 2016)

  Changed paths:
    M src/gui/dialogs/preferences_dialog.cpp
    M src/gui/dialogs/preferences_dialog.hpp

  Log Message:
  -----------
  tpreferences: fixup ad8468698916

The previous iteration caused a crash on exit if you weren't in the display tab,
since the scale slider couldn't be found. This keeps the value of the slider in
a class member variable so its always accessible.





More information about the Commits mailing list