瀏覽代碼

Make changing an ID refresh scripts too

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

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

@@ -770,6 +770,9 @@ class Editor extends Component {
 					switch( c.column.type ){
 					case TRef(_):
 						c.refresh();
+					case TString:
+						if( c.column.kind == Script )
+							c.refresh();
 					default:
 					}
 				}