diff options
author | jmb462 <jmb462@gmail.com> | 2022-02-06 20:17:35 +0100 |
---|---|---|
committer | jmb462 <jmb462@gmail.com> | 2022-02-06 23:06:11 +0100 |
commit | a988fad9a092053434545c32afae91ccbdfbe792 (patch) | |
tree | 90b0666a880ef744364d65102195561dd93a56bc /modules/gridmap | |
parent | 95719930a8940d4737d512d75004e8b5cd50e825 (diff) |
Add missing SNAME macro optimization to all theme methods call
Diffstat (limited to 'modules/gridmap')
-rw-r--r-- | modules/gridmap/grid_map_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gridmap/grid_map_editor_plugin.cpp b/modules/gridmap/grid_map_editor_plugin.cpp index 84510fc71e..3275851b20 100644 --- a/modules/gridmap/grid_map_editor_plugin.cpp +++ b/modules/gridmap/grid_map_editor_plugin.cpp @@ -1181,7 +1181,7 @@ GridMapEditor::GridMapEditor(EditorNode *p_editor) { floor->set_min(-32767); floor->set_max(32767); floor->set_step(1); - floor->get_line_edit()->add_theme_constant_override("minimum_character_width", 16); + floor->get_line_edit()->add_theme_constant_override(SNAME("minimum_character_width"), 16); spatial_editor_hb->add_child(floor); floor->connect("value_changed", callable_mp(this, &GridMapEditor::_floor_changed)); |