Fix loop of scene tabs updates

It was a regression of f8e8b7d1a2,
thanks to @dragmz for finding it.
This commit is contained in:
Rémi Verschelde 2017-11-21 08:46:39 +01:00
parent 0d6c6232b2
commit c846e49a7d

View file

@ -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();
}
}