diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-06 17:50:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 17:50:41 +0200 |
commit | 36c8af8849b9745108606318abd241635f87d4ed (patch) | |
tree | bc24b5180cf602125fa474e648a19dbb0ef1e893 | |
parent | 9424dc04679268df1751dcf459140ac68a7e1453 (diff) | |
parent | 9c94ff178dc7225ec90cf9c28fa4b1b50bd9c729 (diff) |
Merge pull request #60823 from timothyqiu/import-defaults
Make import defaults inspector honor property style settings
-rw-r--r-- | editor/import_defaults_editor.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/import_defaults_editor.cpp b/editor/import_defaults_editor.cpp index ca979c094f..ff6b34dd36 100644 --- a/editor/import_defaults_editor.cpp +++ b/editor/import_defaults_editor.cpp @@ -81,6 +81,11 @@ protected: void ImportDefaultsEditor::_notification(int p_what) { switch (p_what) { + case NOTIFICATION_ENTER_TREE: + case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: { + inspector->set_property_name_style(EditorPropertyNameProcessor::get_settings_style()); + } break; + case NOTIFICATION_PREDELETE: { inspector->edit(nullptr); } break; |