[Scene] Add SceneStringNames::item_selected
This commit is contained in:
@ -936,7 +936,7 @@ EditorFeatureProfileManager::EditorFeatureProfileManager() {
|
||||
profile_list->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
profile_list->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
|
||||
profiles_hbc->add_child(profile_list);
|
||||
profile_list->connect("item_selected", callable_mp(this, &EditorFeatureProfileManager::_profile_selected));
|
||||
profile_list->connect(SceneStringName(item_selected), callable_mp(this, &EditorFeatureProfileManager::_profile_selected));
|
||||
|
||||
profile_actions[PROFILE_NEW] = memnew(Button(TTR("Create Profile")));
|
||||
profiles_hbc->add_child(profile_actions[PROFILE_NEW]);
|
||||
|
||||
Reference in New Issue
Block a user