Skip to content

Commit 3de0fa7

Browse files
committed
Merge pull request #107133 from timothyqiu/nothing
Fix crash when inspecting Variant export variable
2 parents fc5b99f + c323df2 commit 3de0fa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/editor_settings_dialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ void EditorSettingsPropertyWrapper::setup(const String &p_property, EditorProper
11111111
}
11121112

11131113
bool EditorSettingsInspectorPlugin::can_handle(Object *p_object) {
1114-
return p_object->is_class("SectionedInspectorFilter") && p_object != current_object;
1114+
return p_object && p_object->is_class("SectionedInspectorFilter") && p_object != current_object;
11151115
}
11161116

11171117
bool EditorSettingsInspectorPlugin::parse_property(Object *p_object, const Variant::Type p_type, const String &p_path, const PropertyHint p_hint, const String &p_hint_text, const BitField<PropertyUsageFlags> p_usage, const bool p_wide) {

0 commit comments

Comments
 (0)