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

Charles Dang noreply at github.com
Mon Aug 12 01:38:32 UTC 2019


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 93afff1d1adf627cdaef139dbeb0ebe256f7b564
      https://github.com/wesnoth/wesnoth/commit/93afff1d1adf627cdaef139dbeb0ebe256f7b564
  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