report previous netlist error also if doing current level only netlist

This commit is contained in:
stefan schippers 2023-11-15 00:32:41 +01:00
parent 5d3b7bd7d0
commit babd340da9
1 changed files with 5 additions and 0 deletions

View File

@ -2482,6 +2482,11 @@ int rstate; /* (reduced state, without ShiftMask) */
"-message {Please Set netlisting mode (Options menu)}");
dbg(1, "callback(): -------------\n");
}
else {
if(has_x) tcleval("alert_ {Can not write into the netlist directory. Please check} {}");
else dbg(0, "Can not write into the netlist directory. Please check");
err = 1;
}
if(err) {
if(has_x) {
tclvareval(xctx->top_path, ".menubar.netlist configure -bg red", NULL);