summaryrefslogtreecommitdiff
path: root/editor/import_dock.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/import_dock.h')
-rw-r--r--editor/import_dock.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/editor/import_dock.h b/editor/import_dock.h
index 33fc23f1b4..c5cdc4ac40 100644
--- a/editor/import_dock.h
+++ b/editor/import_dock.h
@@ -85,6 +85,12 @@ class ImportDock : public VBoxContainer {
ITEM_CLEAR_DEFAULT,
};
+private:
+ static ImportDock *singleton;
+
+public:
+ static ImportDock *get_singleton() { return singleton; }
+
protected:
static void _bind_methods();
void _notification(int p_what);