diff options
| author | volzhs | 2017-04-03 17:49:02 +0900 |
|---|---|---|
| committer | volzhs | 2017-04-03 17:49:02 +0900 |
| commit | ddd01332ef671545459e1b91cdc2d660b5df7e0c (patch) | |
| tree | 2ac74b7ed0f1da26af3774fcf3f3b32be70da21b /editor/property_editor.cpp | |
| parent | e3d6d863af4a0b734e90771f76bee1ccb905ee6d (diff) | |
| download | godot-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.cpp | 2 |
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: { |
