Skip to content

Commit

Permalink
Merge pull request #90616 from Rindbee/update-undo-redo-allowed-after…
Browse files Browse the repository at this point in the history
…-switching-scene-tab

Update undo redo allowed after switching scene tab
  • Loading branch information
akien-mga committed Apr 17, 2024
2 parents 517d7cf + 29ef52c commit 544ecc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions editor/editor_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 544ecc1

Please sign in to comment.