mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 10:31:15 +00:00
Don't hide/show top editor if they did not change, fixes #26644
This commit is contained in:
parent
5f079e2ef9
commit
6eac688952
2 changed files with 16 additions and 4 deletions
|
|
@ -355,8 +355,8 @@ void ShaderEditor::_menu_option(int p_option) {
|
|||
void ShaderEditor::_notification(int p_what) {
|
||||
|
||||
if (p_what == NOTIFICATION_VISIBILITY_CHANGED) {
|
||||
if (is_visible_in_tree())
|
||||
shader_editor->get_text_edit()->grab_focus();
|
||||
//if (is_visible_in_tree())
|
||||
// shader_editor->get_text_edit()->grab_focus();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue