summaryrefslogtreecommitdiff
path: root/editor/editor_file_system.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-08-14 16:12:02 +0200
committerGitHub <noreply@github.com>2018-08-14 16:12:02 +0200
commitc3a57ddf03805e96e6c9a615e4032138a71c42e7 (patch)
treedaea89e30dcc2f5665f9708c400d5d877056c67d /editor/editor_file_system.cpp
parent7a2ad1321a10d30644f8aeed385488e03afc6193 (diff)
parent1ea37c34ad1d1b8e6ed40434b4a8c55eb6535d0b (diff)
Merge pull request #20484 from willnationsdev/create-favorites
Add toggle for favorites in create_root_dialog
Diffstat (limited to 'editor/editor_file_system.cpp')
-rw-r--r--editor/editor_file_system.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp
index d8ab41fa05..671ac755b2 100644
--- a/editor/editor_file_system.cpp
+++ b/editor/editor_file_system.cpp
@@ -1366,6 +1366,7 @@ void EditorFileSystem::update_script_classes() {
}
ScriptServer::save_global_classes();
+ emit_signal("script_classes_updated");
}
void EditorFileSystem::_queue_update_script_classes() {
@@ -1704,6 +1705,7 @@ void EditorFileSystem::_bind_methods() {
ADD_SIGNAL(MethodInfo("filesystem_changed"));
ADD_SIGNAL(MethodInfo("sources_changed", PropertyInfo(Variant::BOOL, "exist")));
ADD_SIGNAL(MethodInfo("resources_reimported", PropertyInfo(Variant::POOL_STRING_ARRAY, "resources")));
+ ADD_SIGNAL(MethodInfo("script_classes_updated"));
}
void EditorFileSystem::_update_extensions() {