浏览代码

-small fix to avoid warnings

Juan Linietsky 9 年之前
父节点
当前提交
f858adf150
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/editor/scenes_dock.cpp

+ 1 - 1
tools/editor/scenes_dock.cpp

@@ -155,7 +155,7 @@ void ScenesDock::_notification(int p_what) {
 
 
 			if (initialized)
 			if (initialized)
 				return;
 				return;
-			initialized=false;
+			initialized=true;
 
 
 			EditorFileSystem::get_singleton()->connect("filesystem_changed",this,"_fs_changed");
 			EditorFileSystem::get_singleton()->connect("filesystem_changed",this,"_fs_changed");