diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-08-06 20:23:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-06 20:23:41 +0200 |
commit | 18c5d862e425b121498aaf613772169f911581e6 (patch) | |
tree | 309b5c2838713e529a170e2e2ec9cf30630e65c5 | |
parent | da339f8ffcf4c33bb44129d718c0adde910e391d (diff) | |
parent | 45af2af214bee4777978bb8f14e5ede8498e3cd5 (diff) |
Merge pull request #51319 from pycbouh/editor-fix-theme-item-descriptions
Fix theme property descriptions in the Inspector
-rw-r--r-- | editor/editor_inspector.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index d7b7e8e52d..679f2e8ce4 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -1907,8 +1907,7 @@ void EditorInspector::update_tree() { } Vector<String> 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); |