Parcourir la source

Fix crash when creating a uid column not as first column

Leonardo Jeanteur il y a 2 ans
Parent
commit
87e9263ed8
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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();