xschem table_read (not the recommended xschem raw table_read): set raw->sim_type to "table"

This commit is contained in:
stefan schippers 2025-11-01 23:04:23 +01:00
parent eae8c2772a
commit aa240c4244
1 changed files with 2 additions and 0 deletions

View File

@ -6175,7 +6175,9 @@ int xschem(ClientData clientdata, Tcl_Interp *interp, int argc, const char * arg
extra_rawfile(3, NULL, NULL, -1.0, -1.0);
/* free_rawfile(&xctx->raw, 0, 0); */
table_read(f);
if(sch_waves_loaded() >= 0) {
my_strdup(_ALLOC_ID_, &xctx->raw->sim_type, "table");
draw();
}
}