瀏覽代碼

fixed objID in properties view

Nicolas Cannasse 6 月之前
父節點
當前提交
026a6fd843
共有 1 個文件被更改,包括 2 次插入0 次删除
  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 {
+		var columns = table.displayMode == Table ? columns : table.sheet.columns;
+		var obj = obj;
 		for( c in columns ) {
 			if( c.type == TId )
 				return Reflect.field(obj, c.name);