Skip to content

Commit

Permalink
Update undo redo allowed after switching scene tab
Browse files Browse the repository at this point in the history
It has different status in different tabs.
  • Loading branch information
Rindbee committed Apr 13, 2024
1 parent 029aade commit 29ef52c
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 @@ -3832,6 +3832,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 29ef52c

Please sign in to comment.