summaryrefslogtreecommitdiff
path: root/editor/plugins/style_box_editor_plugin.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/plugins/style_box_editor_plugin.cpp
parent95719930a8940d4737d512d75004e8b5cd50e825 (diff)
Add missing SNAME macro optimization to all theme methods call
Diffstat (limited to 'editor/plugins/style_box_editor_plugin.cpp')
-rw-r--r--editor/plugins/style_box_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/style_box_editor_plugin.cpp b/editor/plugins/style_box_editor_plugin.cpp
index 5d38352b22..8ec5ffc0a3 100644
--- a/editor/plugins/style_box_editor_plugin.cpp
+++ b/editor/plugins/style_box_editor_plugin.cpp
@@ -50,7 +50,7 @@ void StyleBoxPreview::edit(const Ref<StyleBox> &p_stylebox) {
}
stylebox = p_stylebox;
if (p_stylebox.is_valid()) {
- preview->add_theme_style_override("panel", stylebox);
+ preview->add_theme_style_override(SNAME("panel"), stylebox);
stylebox->connect("changed", callable_mp(this, &StyleBoxPreview::_sb_changed));
}
_sb_changed();