Merge pull request #8241 from volzhs/crash-project-setting-master

Fix crash when change project settings
This commit is contained in:
Rémi Verschelde 2017-04-03 11:35:44 +02:00 committed by GitHub
commit ff468e2d42
1 changed files with 1 additions and 1 deletions

View File

@ -3846,8 +3846,8 @@ void PropertyEditor::_item_edited() {
} break; } break;
case Variant::BOOL: { case Variant::BOOL: {
_edit_set(name, item->is_checked(1), refresh_all);
item->set_tooltip(1, item->is_checked(1) ? "True" : "False"); item->set_tooltip(1, item->is_checked(1) ? "True" : "False");
_edit_set(name, item->is_checked(1), refresh_all);
} break; } break;
case Variant::INT: case Variant::INT:
case Variant::REAL: { case Variant::REAL: {