Fix edited node being removed before editor plugin handles focus loss

`CanvasItemEditor::_select_click_on_item` was causing
`EditorNode::_plugin_over_edit` to be called before focus exit had time
to propagate to `SpriteFramesEditor::_animation_speed_changed`.
This commit is contained in:
Anni Ryynänen 2024-07-10 11:07:51 +03:00
parent 26d1577f39
commit 4a27fb7e83
No known key found for this signature in database
GPG Key ID: 0C29030C4FA87DDC
1 changed files with 0 additions and 1 deletions

View File

@ -772,7 +772,6 @@ bool CanvasItemEditor::_select_click_on_item(CanvasItem *item, Point2 p_click_po
// Reselect // Reselect
if (Engine::get_singleton()->is_editor_hint()) { if (Engine::get_singleton()->is_editor_hint()) {
selected_from_canvas = true; selected_from_canvas = true;
EditorNode::get_singleton()->edit_node(item);
} }
} }
} }