aboutsummaryrefslogtreecommitdiff
path: root/editor/property_editor.cpp
diff options
context:
space:
mode:
authorvolzhs2017-04-03 17:57:50 +0900
committervolzhs2017-04-03 17:57:50 +0900
commit6ac4969cdd6b57570d5b5265d15263995a8785da (patch)
treed6fbae85d47596eb79914646a243554125c7bb59 /editor/property_editor.cpp
parentdd35caca051541d8044d567e56a623c8c884e4ff (diff)
downloadgodot-6ac4969cdd6b57570d5b5265d15263995a8785da.tar.gz
godot-6ac4969cdd6b57570d5b5265d15263995a8785da.tar.zst
godot-6ac4969cdd6b57570d5b5265d15263995a8785da.zip
Fix crash when change project settings
Diffstat (limited to '')
-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 cc2676993..f2a79a2f4 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: {