瀏覽代碼

Fix crash when creating a uid column not as first column

Leonardo Jeanteur 2 年之前
父節點
當前提交
87e9263ed8
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      hide/comp/cdb/Editor.hx

+ 2 - 0
hide/comp/cdb/Editor.hx

@@ -1516,6 +1516,8 @@ class Editor extends Component {
 			// if first column or subtable, refresh all
 			if( sheet.columns.length == 1 || sheet.name.indexOf("@") > 0 )
 				refresh();
+			else
+				sheet.sync();
 			for( t in tables )
 				if( t.sheet == sheet )
 					t.refresh();