diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-05-06 22:24:57 +0800 |
---|---|---|
committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-05-06 22:24:57 +0800 |
commit | 9c94ff178dc7225ec90cf9c28fa4b1b50bd9c729 (patch) | |
tree | 8fffde801b33119b37773274a3c5b7690e18bf66 | |
parent | de3ccf7a69ec34de6cc386806dfeee92d3537325 (diff) |
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; |