summaryrefslogtreecommitdiffstats
path: root/editor/editor_sectioned_inspector.cpp
diff options
context:
space:
mode:
authorjmb462 <jmb462@gmail.com>2022-02-06 20:17:35 +0100
committerjmb462 <jmb462@gmail.com>2022-02-06 23:06:11 +0100
commita988fad9a092053434545c32afae91ccbdfbe792 (patch)
tree90b0666a880ef744364d65102195561dd93a56bc /editor/editor_sectioned_inspector.cpp
parent95719930a8940d4737d512d75004e8b5cd50e825 (diff)
downloadredot-engine-a988fad9a092053434545c32afae91ccbdfbe792.tar.gz
Add missing SNAME macro optimization to all theme methods call
Diffstat (limited to 'editor/editor_sectioned_inspector.cpp')
-rw-r--r--editor/editor_sectioned_inspector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_sectioned_inspector.cpp b/editor/editor_sectioned_inspector.cpp
index 1bab56ac4a..012f10a1bd 100644
--- a/editor/editor_sectioned_inspector.cpp
+++ b/editor/editor_sectioned_inspector.cpp
@@ -302,7 +302,7 @@ SectionedInspector::SectionedInspector() :
sections(memnew(Tree)),
filter(memnew(SectionedInspectorFilter)),
inspector(memnew(EditorInspector)) {
- add_theme_constant_override("autohide", 1); // Fixes the dragger always showing up
+ add_theme_constant_override(SNAME("autohide"), 1); // Fixes the dragger always showing up
VBoxContainer *left_vb = memnew(VBoxContainer);
left_vb->set_custom_minimum_size(Size2(190, 0) * EDSCALE);