aboutsummaryrefslogtreecommitdiff
path: root/editor/property_editor.cpp
diff options
context:
space:
mode:
authorvolzhs2017-04-03 17:49:02 +0900
committervolzhs2017-04-03 17:49:02 +0900
commitddd01332ef671545459e1b91cdc2d660b5df7e0c (patch)
tree2ac74b7ed0f1da26af3774fcf3f3b32be70da21b /editor/property_editor.cpp
parente3d6d863af4a0b734e90771f76bee1ccb905ee6d (diff)
downloadgodot-ddd01332ef671545459e1b91cdc2d660b5df7e0c.tar.gz
godot-ddd01332ef671545459e1b91cdc2d660b5df7e0c.tar.zst
godot-ddd01332ef671545459e1b91cdc2d660b5df7e0c.zip
Fix crash when change project settings
Diffstat (limited to 'editor/property_editor.cpp')
-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 8ab85f072..1b99ecdd7 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: {