Explorar el Código

fixed objID in properties view

Nicolas Cannasse hace 6 meses
padre
commit
026a6fd843
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      hide/comp/cdb/Line.hx

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

@@ -21,6 +21,8 @@ class Line extends Component {
 
 
 
 
 	public function getId(): String {
 	public function getId(): String {
+		var columns = table.displayMode == Table ? columns : table.sheet.columns;
+		var obj = obj;
 		for( c in columns ) {
 		for( c in columns ) {
 			if( c.type == TId )
 			if( c.type == TId )
 				return Reflect.field(obj, c.name);
 				return Reflect.field(obj, c.name);