1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

LP-561 scope gadget: fix regression that prevented cloning of curves

This commit is contained in:
Philippe Renon 2017-12-10 16:00:31 +01:00
parent ab005828a1
commit 95a2d2867c

View File

@ -75,7 +75,7 @@ ScopeGadgetConfiguration::ScopeGadgetConfiguration(const ScopeGadgetConfiguratio
m_mathFunctionType = obj.m_mathFunctionType;
m_refreshInterval = obj.m_refreshInterval;
int plotCurveCount = m_plotCurveConfigs.size();
int plotCurveCount = obj.m_plotCurveConfigs.size();
for (int i = 0; i < plotCurveCount; i++) {
PlotCurveConfiguration *currentPlotCurveConf = obj.m_plotCurveConfigs.at(i);