mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-11 22:11:18 +00:00
MORE FIXUP
This commit is contained in:
parent
858d6feb34
commit
2e69d99b7d
@ -40,11 +40,11 @@ REGISTER_DIALOG(drop_down_menu)
|
|||||||
|
|
||||||
drop_down_menu::entry_data::entry_data(const config& cfg)
|
drop_down_menu::entry_data::entry_data(const config& cfg)
|
||||||
: checkbox()
|
: checkbox()
|
||||||
, icon(cfg["icon"])
|
, icon(cfg["icon"].str())
|
||||||
, image()
|
, image()
|
||||||
, label(cfg["label"])
|
, label(cfg["label"].t_str())
|
||||||
, details()
|
, details()
|
||||||
, tooltip(cfg["tooltip"])
|
, tooltip(cfg["tooltip"].t_str())
|
||||||
{
|
{
|
||||||
// Checkboxes take precedence in column 1
|
// Checkboxes take precedence in column 1
|
||||||
if(cfg.has_attribute("checkbox")) {
|
if(cfg.has_attribute("checkbox")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user