summaryrefslogtreecommitdiff
path: root/editor/plugins/shader_editor_plugin.cpp
diff options
context:
space:
mode:
authorYuri Rubinsky <chaosus89@gmail.com>2022-09-17 22:14:44 +0300
committerGitHub <noreply@github.com>2022-09-17 22:14:44 +0300
commit4ab3fdcda07bf700b33eb7c85f53826b2464c02f (patch)
treeddc23915c86c333ed5b0d07e191321e1df833f9a /editor/plugins/shader_editor_plugin.cpp
parent57bdddce02370af3d13e6edc583afdc17264147d (diff)
parent1c98f03784bd77390205df111d28446fd72f0a38 (diff)
Merge pull request #65993 from jeffres/fix-highligthing-of-selected-file-in-shader-editor
Diffstat (limited to 'editor/plugins/shader_editor_plugin.cpp')
-rw-r--r--editor/plugins/shader_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/shader_editor_plugin.cpp b/editor/plugins/shader_editor_plugin.cpp
index 246bc4b183..815a61f8ac 100644
--- a/editor/plugins/shader_editor_plugin.cpp
+++ b/editor/plugins/shader_editor_plugin.cpp
@@ -1366,6 +1366,7 @@ void ShaderEditorPlugin::_shader_selected(int p_index) {
edited_shaders[p_index].shader_editor->validate_script();
}
shader_tabs->set_current_tab(p_index);
+ shader_list->select(p_index);
}
void ShaderEditorPlugin::_shader_list_clicked(int p_item, Vector2 p_local_mouse_pos, MouseButton p_mouse_button_index) {