diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-28 14:19:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-28 14:19:47 +0200 |
commit | 74b07dd19428ac6991d77aeb26ce0a66bfad4817 (patch) | |
tree | a3ba3c13f8b763ffceac26d1673fbae9f4050397 /editor/import | |
parent | abbb0dc08245e14510fff9163449ff6ae65da1ba (diff) | |
parent | ccde2bf66fabe319095a9dc3b91cf071313142ba (diff) |
Merge pull request #59426 from timothyqiu/name-style-master
Diffstat (limited to 'editor/import')
-rw-r--r-- | editor/import/scene_import_settings.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/import/scene_import_settings.cpp b/editor/import/scene_import_settings.cpp index 5045e4a541..302bc98499 100644 --- a/editor/import/scene_import_settings.cpp +++ b/editor/import/scene_import_settings.cpp @@ -844,6 +844,10 @@ void SceneImportSettings::_notification(int p_what) { case NOTIFICATION_READY: { connect("confirmed", callable_mp(this, &SceneImportSettings::_re_import)); } break; + + case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: { + inspector->set_property_name_style(EditorPropertyNameProcessor::get_settings_style()); + } break; } } @@ -1231,6 +1235,7 @@ SceneImportSettings::SceneImportSettings() { inspector = memnew(EditorInspector); inspector->set_custom_minimum_size(Size2(300 * EDSCALE, 0)); + inspector->set_property_name_style(EditorPropertyNameProcessor::get_settings_style()); property_split->add_child(inspector); |