From e7e4f59412aeadb067d056ecbcbdd515f5b30785 Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Tue, 6 Feb 2018 13:44:24 -0800 Subject: [PATCH] Fix incorrect lastSequenceNumber bug --- src/MissionManager/CorridorScanComplexItem.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MissionManager/CorridorScanComplexItem.cc b/src/MissionManager/CorridorScanComplexItem.cc index c6a8a787c..bcb69fc21 100644 --- a/src/MissionManager/CorridorScanComplexItem.cc +++ b/src/MissionManager/CorridorScanComplexItem.cc @@ -69,7 +69,7 @@ int CorridorScanComplexItem::lastSequenceNumber(void) const itemCount += _transectCount() * 2; } - return _sequenceNumber + itemCount - 1; + return _sequenceNumber + itemCount; } void CorridorScanComplexItem::save(QJsonArray& missionItems) -- 2.22.0