mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-16 08:29:15 +01:00
OP-1554 Fixed small but critical bug for multielement fields.
This commit is contained in:
parent
59db8f818c
commit
9f5fd7dec0
@ -39,7 +39,7 @@ PlotData::PlotData(UAVObject *object, UAVObjectField *field, int element,
|
||||
m_object(object), m_field(field), m_element(element),
|
||||
m_plotCurve(NULL), m_isVisible(true), m_pen(pen), m_isEnumPlot(false)
|
||||
{
|
||||
if (!m_field->getNumElements() > 1) {
|
||||
if (m_field->getNumElements() > 1) {
|
||||
m_elementName = m_field->getElementNames().at(m_element);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user