-Avoid crash in property editor due to newly out of focus but still valid property edition, fixes #3601

This commit is contained in:
Juan Linietsky 2016-02-08 11:59:44 -03:00
parent 9109e41a20
commit 3cce2d6881
1 changed files with 3 additions and 0 deletions

View File

@ -3197,6 +3197,9 @@ void PropertyEditor::_item_edited() {
TreeItem * item = tree->get_edited();
if (!item)
return; //it all happened too fast..
Dictionary d = item->get_metadata(0);
String name=d["name"];