Commit fa24388b authored by Claes Sjofors's avatar Claes Sjofors

wb ClassVolumeLoad other added to referencelist filter

parent d8f09ece
......@@ -77,7 +77,7 @@ SObject pwrb:Class
Object ObjectName $ReferenceList
Body SysBody
Attr ObjectClass[0] = pwr_cClass_ClassVolumeConfig
Attr Filter = 1
Attr Filter = 129
EndBody
EndObject
EndObject
......
......@@ -1217,6 +1217,11 @@ int WItemObjectName::open_children( double x, double y)
brow_SetNodraw( brow->ctx);
if ( listbody.Filter & pwr_mRefListFilterMask_Other)
new WItemEnumObject( brow, ldhses, objid, (char *)"Other", attr,
item_eType_Other, 0, 32, 0, (char *)"", oname, 0, 0,
idx++, node, flow_eDest_IntoLast);
for ( wb_object co = sp->object( listbody.ObjectClass[0]);
co;
co = co.next()) {
......@@ -1240,7 +1245,7 @@ int WItemObjectName::open_children( double x, double y)
pwr_tOid oid = co.oid();
new WItemEnumObject( brow, ldhses, objid, oname, attr,
item_eType_ObjectName, 0, 32, 0, (char *)"", oname, 0, 0,
idx++, node, flow_eDest_IntoLast);
idx++, node, flow_eDest_IntoLast);
}
}
catch ( wb_error e) {
......
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