1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

[Scene] Add SceneStringNames::item_selected

This commit is contained in:
A Thousand Ships
2024-05-14 14:21:31 +02:00
parent 0a83e7c5da
commit d9e2fc74c7
58 changed files with 135 additions and 131 deletions

View File

@@ -725,7 +725,7 @@ ShaderEditorPlugin::ShaderEditorPlugin() {
shader_list->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
shader_list->set_v_size_flags(Control::SIZE_EXPAND_FILL);
vb->add_child(shader_list);
shader_list->connect("item_selected", callable_mp(this, &ShaderEditorPlugin::_shader_selected));
shader_list->connect(SceneStringName(item_selected), callable_mp(this, &ShaderEditorPlugin::_shader_selected));
shader_list->connect("item_clicked", callable_mp(this, &ShaderEditorPlugin::_shader_list_clicked));
SET_DRAG_FORWARDING_GCD(shader_list, ShaderEditorPlugin);