summaryrefslogtreecommitdiffstats
path: root/modules/multiplayer/editor/replication_editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/multiplayer/editor/replication_editor.cpp')
-rw-r--r--modules/multiplayer/editor/replication_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/multiplayer/editor/replication_editor.cpp b/modules/multiplayer/editor/replication_editor.cpp
index 3cc0a5ae53..b28572cf72 100644
--- a/modules/multiplayer/editor/replication_editor.cpp
+++ b/modules/multiplayer/editor/replication_editor.cpp
@@ -372,7 +372,7 @@ void ReplicationEditor::_notification(int p_what) {
[[fallthrough]];
}
case NOTIFICATION_ENTER_TREE: {
- add_theme_style_override("panel", EditorNode::get_singleton()->get_editor_theme()->get_stylebox(SNAME("panel"), SNAME("Panel")));
+ add_theme_style_override(SceneStringName(panel), EditorNode::get_singleton()->get_editor_theme()->get_stylebox(SceneStringName(panel), SNAME("Panel")));
add_pick_button->set_icon(get_theme_icon(SNAME("Add"), EditorStringName(EditorIcons)));
pin->set_icon(get_theme_icon(SNAME("Pin"), EditorStringName(EditorIcons)));
} break;