You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
-Avoid crash in property editor due to newly out of focus but still valid property edition, fixes #3601
This commit is contained in:
@@ -3197,6 +3197,9 @@ void PropertyEditor::_item_edited() {
|
|||||||
|
|
||||||
|
|
||||||
TreeItem * item = tree->get_edited();
|
TreeItem * item = tree->get_edited();
|
||||||
|
if (!item)
|
||||||
|
return; //it all happened too fast..
|
||||||
|
|
||||||
Dictionary d = item->get_metadata(0);
|
Dictionary d = item->get_metadata(0);
|
||||||
|
|
||||||
String name=d["name"];
|
String name=d["name"];
|
||||||
|
|||||||
Reference in New Issue
Block a user