Merge pull request #90616 from Rindbee/update-undo-redo-allowed-after-switching-scene-tab

Update undo redo allowed after switching scene tab
This commit is contained in:
Rémi Verschelde 2024-04-17 10:58:42 +02:00
commit 544ecc123a
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -3841,6 +3841,8 @@ void EditorNode::_set_current_scene_nocheck(int p_idx) {
if (tabs_to_close.is_empty()) {
callable_mp(this, &EditorNode::_set_main_scene_state).call_deferred(state, get_edited_scene()); // Do after everything else is done setting up.
}
_update_undo_redo_allowed();
}
void EditorNode::setup_color_picker(ColorPicker *p_picker) {