summaryrefslogtreecommitdiff
path: root/editor/filesystem_dock.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/filesystem_dock.h')
-rw-r--r--editor/filesystem_dock.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/editor/filesystem_dock.h b/editor/filesystem_dock.h
index d457c6acd4..92dac374ec 100644
--- a/editor/filesystem_dock.h
+++ b/editor/filesystem_dock.h
@@ -154,7 +154,7 @@ private:
ShaderCreateDialog *make_shader_dialog;
CreateDialog *new_resource_dialog;
- bool always_show_folders;
+ bool always_show_folders = false;
class FileOrFolder {
public:
@@ -177,13 +177,13 @@ private:
String path;
- bool initialized;
+ bool initialized = false;
- bool updating_tree;
+ bool updating_tree = false;
int tree_update_id;
Tree *tree;
ItemList *files;
- bool import_dock_needs_update;
+ bool import_dock_needs_update = false;
bool holding_branch = false;
Vector<TreeItem *> tree_items_selected_on_drag_begin;
@@ -320,6 +320,8 @@ public:
void navigate_to_path(const String &p_path);
void focus_on_filter();
+ ScriptCreateDialog *get_script_create_dialog() const;
+
void fix_dependencies(const String &p_for_file);
int get_split_offset() { return split_box->get_split_offset(); }