Commit cca1e85a authored by claes's avatar claes

Fix to view System object attributes

parent a4ec4921
/*
* Proview $Id: xtt_item.cpp,v 1.20 2008-06-24 08:10:43 claes Exp $
* Proview $Id: xtt_item.cpp,v 1.21 2008-06-25 12:36:18 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -346,6 +346,9 @@ int ItemBaseObject::open_attributes( XNavBrow *brow, double x, double y)
continue;
}
if ( classid == pwr_eClass_System)
bd[i].attr->Param.Info.Flags |= PWR_MASK_CONST;
elements = 1;
if ( bd[i].attr->Param.Info.Flags & PWR_MASK_ARRAY ) {
attr_exist = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment