1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

Fix Redundant calls of CIE _update_lock_and_group_button on SceneTree selection.

This commit is contained in:
Mounir Tohami
2025-09-08 11:10:05 +03:00
parent 3c7f9b9372
commit 320ff6bc75
2 changed files with 4 additions and 5 deletions

View File

@@ -4165,7 +4165,6 @@ void CanvasItemEditor::_notification(int p_what) {
case NOTIFICATION_READY: {
_update_lock_and_group_button();
SceneTreeDock::get_singleton()->get_tree_editor()->connect("node_changed", callable_mp(this, &CanvasItemEditor::_update_lock_and_group_button));
ProjectSettings::get_singleton()->connect("settings_changed", callable_mp(this, &CanvasItemEditor::_project_settings_changed));
} break;