[Commits] [wesnoth/wesnoth] 84903c: Drop Down Menu: several improvements to embedded t...

GitHub noreply at github.com
Thu Feb 16 21:22:23 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 84903c99d2d3f7e7949558708b12b1ac887b2bfc
      https://github.com/wesnoth/wesnoth/commit/84903c99d2d3f7e7949558708b12b1ac887b2bfc
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-02-17 (Fri, 17 Feb 2017)

  Changed paths:
    M src/gui/dialogs/drop_down_menu.cpp
    M src/gui/dialogs/drop_down_menu.hpp
    M src/gui/widgets/menu_button.cpp
    M src/gui/widgets/menu_button.hpp
    M src/hotkey/command_executor.cpp
    M src/scripting/lua_gui2.cpp

  Log Message:
  -----------
  Drop Down Menu: several improvements to embedded toggle button handling

Any click on a row with a toggle button will now toggle that row's button prior to closing the dialog, unless the
keep_open flag was set, in which case the click will toggle the button but the dialog will not close.

Clicks directly on the toggle buttons themselves are unchanged.





More information about the Commits mailing list