From 3cce2d688196e13f9d16b7e480db1d1b62aa8f84 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 8 Feb 2016 11:59:44 -0300 Subject: -Avoid crash in property editor due to newly out of focus but still valid property edition, fixes #3601 --- tools/editor/property_editor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/editor/property_editor.cpp b/tools/editor/property_editor.cpp index efc821b874..303604c2fc 100644 --- a/tools/editor/property_editor.cpp +++ b/tools/editor/property_editor.cpp @@ -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"]; -- cgit v1.2.3