[wesnoth-commits] [wesnoth/wesnoth] f46ed6: Fixed regression from 4139b43cc900 (fixes #4215)

Charles Dang noreply at github.com
Mon Aug 12 01:36:23 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: f46ed66f2c9a8acf8d88338d8433fc35689d4c39
      https://github.com/wesnoth/wesnoth/commit/f46ed66f2c9a8acf8d88338d8433fc35689d4c39
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2019-08-12 (Mon, 12 Aug 2019)

  Changed paths:
    M src/widgets/widget.cpp
    M src/widgets/widget.hpp

  Log Message:
  -----------
  Fixed regression from 4139b43cc900 (fixes #4215)

This fixes the buttons in the editor's terrain palette being unselectable. Since the gui::widget class
had a virtual base class, the class was not trivially copy-constructable. We need to explicitly define
the copy constructor so we can initialize the sdl_handler base class.





More information about the Commits mailing list