Revert "Removed the stupid restriction that "cellname readwrite" won't work"
This reverts commit 8b9c47c3ef.
Reverting back to the state before messing with the substrate extraction
code. All of the substrate extraction code is now in a separate branch.
This commit is contained in:
parent
3703560305
commit
a9fc99174a
|
|
@ -1084,11 +1084,13 @@ CmdCellname(w, cmd)
|
|||
if (cellDef->cd_fd == -1)
|
||||
dbReadOpen(cellDef, NULL, TRUE, NULL);
|
||||
|
||||
if (cellDef->cd_fd == -1)
|
||||
TxError("Warning: Cell %s is not writeable\n", cellDef->cd_name);
|
||||
#endif
|
||||
|
||||
if (cellDef->cd_fd != -1)
|
||||
cellDef->cd_flags &= ~CDNOEDIT;
|
||||
else
|
||||
TxError("Advisory lock held on cell %s\n", cellDef->cd_name);
|
||||
#else
|
||||
cellDef->cd_flags &= ~CDNOEDIT;
|
||||
#endif
|
||||
WindAreaChanged(w, &w->w_screenArea);
|
||||
CmdSetWindCaption(EditCellUse, EditRootDef);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue