summaryrefslogtreecommitdiffstats
path: root/editor/editor_help.cpp
diff options
context:
space:
mode:
authorRedworkDE <10944644+RedworkDE@users.noreply.github.com>2023-05-28 16:52:46 +0200
committerRedworkDE <10944644+RedworkDE@users.noreply.github.com>2023-05-28 17:08:27 +0200
commit67e8c57f0371d952a5d6623e2fbfb1400e05b84f (patch)
treea657508f8115ecf5f6a0a9f49cbbdd8841df65fb /editor/editor_help.cpp
parent28cca66d2cfe25d6d7bf5a2a26ab7bd366029669 (diff)
downloadredot-engine-67e8c57f0371d952a5d6623e2fbfb1400e05b84f.tar.gz
Invalidate the DocCache when updating the xml docs
Diffstat (limited to 'editor/editor_help.cpp')
-rw-r--r--editor/editor_help.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp
index 2b8cace2f1..17aa763983 100644
--- a/editor/editor_help.cpp
+++ b/editor/editor_help.cpp
@@ -2258,7 +2258,7 @@ String EditorHelp::get_cache_full_path() {
static bool first_attempt = true;
static String _compute_doc_version_hash() {
- return uitos(ClassDB::get_api_hash(ClassDB::API_CORE)) + "-" + uitos(ClassDB::get_api_hash(ClassDB::API_EDITOR));
+ return vformat("%d/%d/%s", ClassDB::get_api_hash(ClassDB::API_CORE), ClassDB::get_api_hash(ClassDB::API_EDITOR), _doc_data_hash);
}
void EditorHelp::_load_doc_thread(void *p_udata) {