From 45af2af214bee4777978bb8f14e5ede8498e3cd5 Mon Sep 17 00:00:00 2001 From: Yuri Sizov Date: Fri, 6 Aug 2021 17:12:43 +0300 Subject: [PATCH] Fix theme property descriptions in the Inspector --- editor/editor_inspector.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index d7b7e8e52d5..679f2e8ce44 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -1907,8 +1907,7 @@ void EditorInspector::update_tree() { } Vector slices = propname.operator String().split("/"); - if (slices.size() == 2 && slices[0].begins_with("custom_")) { - // Likely a theme property. + if (slices.size() == 2 && slices[0].begins_with("theme_override_")) { for (int i = 0; i < F->get().theme_properties.size(); i++) { if (F->get().theme_properties[i].name == slices[1]) { descr = DTR(F->get().theme_properties[i].description);