Skip to content

Commit 08b5bf3

Browse files
committed
Merge pull request #95333 from Giganzo/lock-group-toggle
Fix Lock and Group for canvas items not updated in editor after changed in SceneTree
2 parents ef3086b + f03e081 commit 08b5bf3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

editor/plugins/canvas_item_editor_plugin.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4074,6 +4074,7 @@ void CanvasItemEditor::_notification(int p_what) {
40744074
case NOTIFICATION_READY: {
40754075
_update_lock_and_group_button();
40764076

4077+
SceneTreeDock::get_singleton()->get_tree_editor()->connect("node_changed", callable_mp(this, &CanvasItemEditor::_update_lock_and_group_button));
40774078
ProjectSettings::get_singleton()->connect("settings_changed", callable_mp(this, &CanvasItemEditor::_project_settings_changed));
40784079
} break;
40794080

0 commit comments

Comments
 (0)