summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-11-21 08:46:39 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-11-21 08:46:39 +0100
commitc846e49a7d3439d9aef5d499ad403304d89a3b3c (patch)
tree8bd98c64f0e98d8429e53649be48d02b9e70fa39
parent0d6c6232b2c4cb95679f675345a845fc0ccbf99b (diff)
downloadredot-engine-c846e49a7d3439d9aef5d499ad403304d89a3b3c.tar.gz
Fix loop of scene tabs updates
It was a regression of f8e8b7d1a231bb5e54abd3c7ed26a76fcb8a89cd, thanks to @dragmz for finding it.
-rw-r--r--editor/editor_node.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 109f132d76..a32ade3b71 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -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();
}
}