Fix context menu of first node in a new scene
This commit is contained in:
parent
6086252f66
commit
feb45aaf4b
1 changed files with 1 additions and 1 deletions
|
|
@ -1358,7 +1358,7 @@ void SceneTreeDock::_create() {
|
|||
|
||||
editor_data->get_undo_redo().commit_action();
|
||||
editor->push_item(c);
|
||||
|
||||
editor_selection->clear();
|
||||
if (Object::cast_to<Control>(c)) {
|
||||
//make editor more comfortable, so some controls don't appear super shrunk
|
||||
Control *ct = Object::cast_to<Control>(c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue