summaryrefslogtreecommitdiff
path: root/editor/filesystem_dock.h
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2017-11-02 22:05:34 +0900
committervolzhs <volzhs@gmail.com>2017-11-02 23:47:07 +0900
commit3babb19515465989814baeefa3cb200161eee1c1 (patch)
tree544c0dffb102f62f36115ea8943e97b28f59377d /editor/filesystem_dock.h
parentcefdb34f6c1af31048340182c10587099c39da44 (diff)
Not to be slow when select multiple files
Diffstat (limited to 'editor/filesystem_dock.h')
-rw-r--r--editor/filesystem_dock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/filesystem_dock.h b/editor/filesystem_dock.h
index 2cb0573a3d..ddf4d4655f 100644
--- a/editor/filesystem_dock.h
+++ b/editor/filesystem_dock.h
@@ -147,6 +147,7 @@ private:
bool updating_tree;
Tree *tree; //directories
ItemList *files;
+ bool import_dock_needs_update;
bool _create_tree(TreeItem *p_parent, EditorFileSystemDirectory *p_dir, Vector<String> &uncollapsed_paths);
void _update_tree(bool keep_collapse_state);
@@ -161,6 +162,7 @@ private:
void _select_file(int p_idx);
void _file_multi_selected(int p_index, bool p_selected);
+ void _update_import_dock();
void _file_selected();
void _dir_selected();