mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-14 06:41:10 +01:00
Revert afc9407ae0
.
This commit is contained in:
parent
390735e803
commit
4964f541e7
@ -44,7 +44,6 @@
|
|||||||
#include "core/variant.h"
|
#include "core/variant.h"
|
||||||
#include "core/vector.h"
|
#include "core/vector.h"
|
||||||
#include "editor/editor_inspector.h"
|
#include "editor/editor_inspector.h"
|
||||||
#include "editor/editor_settings.h"
|
|
||||||
#include "scene/gui/button.h"
|
#include "scene/gui/button.h"
|
||||||
#include "scene/gui/center_container.h"
|
#include "scene/gui/center_container.h"
|
||||||
#include "scene/gui/control.h"
|
#include "scene/gui/control.h"
|
||||||
@ -92,13 +91,10 @@ 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);
|
if (inspector) {
|
||||||
|
inspector->edit(nullptr);
|
||||||
|
}
|
||||||
} break;
|
} break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user