Browse Source

Fix crash when change project settings

volzhs 8 năm trước cách đây
mục cha
commit
ddd01332ef
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      editor/property_editor.cpp

+ 1 - 1
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: {