From ddd01332ef671545459e1b91cdc2d660b5df7e0c Mon Sep 17 00:00:00 2001 From: volzhs Date: Mon, 3 Apr 2017 17:49:02 +0900 Subject: [PATCH] Fix crash when change project settings --- editor/property_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp index 8ab85f072e1..1b99ecdd7a9 100644 --- a/editor/property_editor.cpp +++ b/editor/property_editor.cpp @@ -3375,8 +3375,8 @@ void PropertyEditor::_item_edited() { } break; case Variant::BOOL: { - _edit_set(name, item->is_checked(1)); item->set_tooltip(1, item->is_checked(1) ? "True" : "False"); + _edit_set(name, item->is_checked(1)); } break; case Variant::INT: case Variant::REAL: {