diff options
| author | Juan Linietsky | 2017-10-05 15:34:34 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-10-05 15:34:34 -0300 |
| commit | 3d87b70f7a8cadaab581c481fcc51622e8043ee0 (patch) | |
| tree | 0dcf539804decaf77f74086774a32c64872e7c11 /modules/gdnative/gd_native_library_editor.cpp | |
| parent | 928efe06d672d8afeb595f75878746a51e4dc2ce (diff) | |
| download | godot-3d87b70f7a8cadaab581c481fcc51622e8043ee0.tar.gz godot-3d87b70f7a8cadaab581c481fcc51622e8043ee0.tar.zst godot-3d87b70f7a8cadaab581c481fcc51622e8043ee0.zip | |
Diffstat (limited to 'modules/gdnative/gd_native_library_editor.cpp')
| -rw-r--r-- | modules/gdnative/gd_native_library_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdnative/gd_native_library_editor.cpp b/modules/gdnative/gd_native_library_editor.cpp index cc2c2b69a..c37b7f473 100644 --- a/modules/gdnative/gd_native_library_editor.cpp +++ b/modules/gdnative/gd_native_library_editor.cpp @@ -72,7 +72,7 @@ void GDNativeLibraryEditor::_update_libraries() { libraries->create_item(); //rppt Vector<String> enabled_paths; - if (ProjectSettings::get_singleton()->has("gdnative/singletons")) { + if (ProjectSettings::get_singleton()->has_setting("gdnative/singletons")) { enabled_paths = ProjectSettings::get_singleton()->get("gdnative/singletons"); } Set<String> enabled_list; @@ -100,7 +100,7 @@ void GDNativeLibraryEditor::_item_edited() { String path = item->get_metadata(0); Vector<String> enabled_paths; - if (ProjectSettings::get_singleton()->has("gdnative/singletons")) { + if (ProjectSettings::get_singleton()->has_setting("gdnative/singletons")) { enabled_paths = ProjectSettings::get_singleton()->get("gdnative/singletons"); } |
