You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Make import defaults inspector honor property style settings
This commit is contained in:
@@ -81,6 +81,11 @@ protected:
|
|||||||
|
|
||||||
void ImportDefaultsEditor::_notification(int p_what) {
|
void ImportDefaultsEditor::_notification(int p_what) {
|
||||||
switch (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: {
|
case NOTIFICATION_PREDELETE: {
|
||||||
inspector->edit(nullptr);
|
inspector->edit(nullptr);
|
||||||
} break;
|
} break;
|
||||||
|
|||||||
Reference in New Issue
Block a user