1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Set doc_name even when categories are hidden in the inspector

Otherwise, tooltips will fail to fetch descriptions.
This commit is contained in:
Michael Alexsander
2024-05-28 02:33:27 -03:00
parent 1e6b11dcd4
commit 1bfcb6ee65
2 changed files with 37 additions and 29 deletions

View File

@@ -37,7 +37,7 @@
#include "core/object/script_language.h"
#include "core/os/keyboard.h"
#include "core/string/string_builder.h"
#include "core/version.h"
#include "core/version_generated.gen.h"
#include "editor/doc_data_compressed.gen.h"
#include "editor/editor_node.h"
#include "editor/editor_paths.h"
@@ -3380,6 +3380,7 @@ EditorHelpBit::HelpData EditorHelpBit::_get_theme_item_help_data(const StringNam
if (theme_item.name == p_theme_item_name) {
result = current;
found = true;
if (!is_native) {
break;
}