Corrected another error related to read-only views in which magic crashes when
attempting to place a generated cell in the layout, as pointed out by Mark Martin in github Issue #309.
This commit is contained in:
parent
291ba96285
commit
cf5fd867f4
|
|
@ -1121,11 +1121,13 @@ DBUsePrint(CellName, who, dolist)
|
||||||
celldef = DBCellLookDef(CellName);
|
celldef = DBCellLookDef(CellName);
|
||||||
*lasthier = '/';
|
*lasthier = '/';
|
||||||
}
|
}
|
||||||
else
|
else if (EditCellUse != NULL)
|
||||||
{
|
{
|
||||||
/* Referenced cellDef is the current edit def */
|
/* Referenced cellDef is the current edit def */
|
||||||
celldef = EditCellUse->cu_def;
|
celldef = EditCellUse->cu_def;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
return;
|
||||||
|
|
||||||
switch (who)
|
switch (who)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue