mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-23 11:47:24 +01:00
proper check because of a crash that happened when user opened Deleted Objects library while some interfaces were there
This commit is contained in:
parent
6713286942
commit
9e3a3db7c7
@ -667,9 +667,10 @@ QString FWObjectPropertiesFactory::getObjectPropertiesDetailed(FWObject *obj,
|
||||
do
|
||||
{
|
||||
parent_host = parent_host->getParent();
|
||||
if (parent_host == NULL) break;
|
||||
short_path.push_front(QString::fromUtf8(parent_host->getName().c_str()));
|
||||
}
|
||||
while (parent_host && Host::cast(parent_host) == NULL);
|
||||
while (Host::cast(parent_host) == NULL);
|
||||
|
||||
str += QString("<b>Parent: </b>%1<br>\n").arg(short_path.join("/"));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user