mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
Fixed a potential crash condition on linear dial gadget when source SVG is not found.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1251 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
61d0626bcf
commit
963a2a920e
@ -326,6 +326,7 @@ void LineardialGadgetWidget::setDialFile(QString dfn)
|
||||
l_scene->addItem(background);
|
||||
fieldName = NULL;
|
||||
fieldValue = NULL;
|
||||
fieldSymbol = NULL;
|
||||
index = NULL;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user