mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-08 13:27:57 +00:00
[map] Limit the track recording length to 2 points min
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
committed by
Yannik Bloscheck
parent
38406b149a
commit
55b85183d5
@@ -109,5 +109,5 @@ ElevationInfo const & GpsTrackCollection::UpdateAndGetElevationInfo()
|
||||
|
||||
bool GpsTrackCollection::IsEmpty() const
|
||||
{
|
||||
return m_items.empty();
|
||||
return m_items.size() < 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user