summaryrefslogtreecommitdiff
path: root/editor/import
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-28 14:19:47 +0200
committerGitHub <noreply@github.com>2022-03-28 14:19:47 +0200
commit74b07dd19428ac6991d77aeb26ce0a66bfad4817 (patch)
treea3ba3c13f8b763ffceac26d1673fbae9f4050397 /editor/import
parentabbb0dc08245e14510fff9163449ff6ae65da1ba (diff)
parentccde2bf66fabe319095a9dc3b91cf071313142ba (diff)
Merge pull request #59426 from timothyqiu/name-style-master
Diffstat (limited to 'editor/import')
-rw-r--r--editor/import/scene_import_settings.cpp5
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);