Ver Fonte

Fix crash when creating a uid column not as first column

Leonardo Jeanteur há 2 anos atrás
pai
commit
87e9263ed8
1 ficheiros alterados com 2 adições e 0 exclusões
  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();