1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-18 08:54:15 +01:00

GCS-Fixes crash if autoLoadWidgets is called after addUAVObject

This commit is contained in:
PT_Dreamer 2012-08-14 18:12:07 +01:00
parent 64e5ff8e6d
commit 0f8974178a

View File

@ -698,10 +698,12 @@ void ConfigTaskWidget::autoLoadWidgets()
forceShadowUpdates();
foreach(objectToWidget * ow,objOfInterest)
{
qDebug()<<"Master:"<<ow->widget->objectName();
if(ow->widget)
qDebug()<<"Master:"<<ow->widget->objectName();
foreach(shadow * sh,ow->shadowsList)
{
qDebug()<<"Child"<<sh->widget->objectName();
if(sh->widget)
qDebug()<<"Child"<<sh->widget->objectName();
}
}
}