From 6ac4969cdd6b57570d5b5265d15263995a8785da Mon Sep 17 00:00:00 2001 From: volzhs Date: Mon, 3 Apr 2017 17:57:50 +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 cc267699394..f2a79a2f47a 100644 --- a/editor/property_editor.cpp +++ b/editor/property_editor.cpp @@ -3846,8 +3846,8 @@ void PropertyEditor::_item_edited() { } break; case Variant::BOOL: { - _edit_set(name, item->is_checked(1), refresh_all); item->set_tooltip(1, item->is_checked(1) ? "True" : "False"); + _edit_set(name, item->is_checked(1), refresh_all); } break; case Variant::INT: case Variant::REAL: {