summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-04-03 11:35:44 +0200
committerGitHub <noreply@github.com>2017-04-03 11:35:44 +0200
commitff468e2d4247fc5fc52aea866f72dc4e5b9e6815 (patch)
treed6fbae85d47596eb79914646a243554125c7bb59
parentdd35caca051541d8044d567e56a623c8c884e4ff (diff)
parent6ac4969cdd6b57570d5b5265d15263995a8785da (diff)
Merge pull request #8241 from volzhs/crash-project-setting-master
Fix crash when change project settings
-rw-r--r--editor/property_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp
index cc26769939..f2a79a2f47 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: {