Fix loop of scene tabs updates
It was a regression of f8e8b7d1a2
,
thanks to @dragmz for finding it.
This commit is contained in:
parent
0d6c6232b2
commit
c846e49a7d
1 changed files with 2 additions and 1 deletions
|
@ -364,7 +364,8 @@ void EditorNode::_notification(int p_what) {
|
|||
dock_tab_move_right->set_icon(theme->get_icon("Forward", "EditorIcons"));
|
||||
update_menu->set_icon(gui_base->get_icon("Progress1", "EditorIcons"));
|
||||
}
|
||||
if (p_what = Control::NOTIFICATION_RESIZED) {
|
||||
|
||||
if (p_what == Control::NOTIFICATION_RESIZED) {
|
||||
_update_scene_tabs();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue