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:
parent
64e5ff8e6d
commit
0f8974178a
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user