[Scene] Add SceneStringNames::item_selected
This commit is contained in:
@ -359,7 +359,7 @@ EditorAbout::EditorAbout() {
|
||||
_tpl_text->set_v_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
tpl_hbc->add_child(_tpl_text);
|
||||
|
||||
_tpl_tree->connect("item_selected", callable_mp(this, &EditorAbout::_license_tree_selected));
|
||||
_tpl_tree->connect(SceneStringName(item_selected), callable_mp(this, &EditorAbout::_license_tree_selected));
|
||||
tpl_ti_all->select(0);
|
||||
_tpl_text->set_text(tpl_ti_all->get_metadata(0));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user