File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4431,9 +4431,11 @@ Descriptor::Properties DbMarkerCategoryDescriptor::getDBProperties(
44314431
44324432 odb::dbObject* parent = category->getParent ();
44334433 if (parent != top) {
4434- if (parent->getObjectType () == odb::dbObjectType::dbBlockObj) {
4434+ if (parent->getObjectType () == odb::dbObjectType::dbChipObj) {
4435+ // TODO: fix this
44354436 props.push_back (
4436- {" Parent" , gui->makeSelected (static_cast <odb::dbBlock*>(parent))});
4437+ {" Parent" ,
4438+ gui->makeSelected (static_cast <odb::dbChip*>(parent)->getBlock ())});
44374439 } else {
44384440 props.push_back (
44394441 {" Parent" ,
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ _dbMarkerCategory::~_dbMarkerCategory()
145145
146146bool _dbMarkerCategory::isTopCategory () const
147147{
148- return getOwner ()->getObjectType () == dbBlockObj ;
148+ return getOwner ()->getObjectType () == dbChipObj ;
149149}
150150
151151_dbBlock* _dbMarkerCategory::getBlock () const
You can’t perform that action at this time.
0 commit comments