mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-26 21:57:16 +01:00
Make import defaults inspector honor property style settings
This commit is contained in:
parent
18bb8e671a
commit
afc9407ae0
@ -90,10 +90,15 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
void ImportDefaultsEditor::_notification(int p_what) {
|
void ImportDefaultsEditor::_notification(int p_what) {
|
||||||
if (p_what == NOTIFICATION_PREDELETE) {
|
switch (p_what) {
|
||||||
if (inspector) {
|
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);
|
inspector->edit(nullptr);
|
||||||
}
|
} break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user