ArduPilot / MissionPlanner

Mission Planner Ground Control Station for ArduPilot (c# .net)
http://ardupilot.org/planner/
GNU General Public License v3.0
1.8k stars 2.42k forks source link

Settings:Fix RemoveList to remove last item in the setting #3370

Closed EosBandi closed 5 months ago

EosBandi commented 5 months ago

Fixes when RemoveList tries to remoce the last item in a list. It calls SetList, but it returns without setting the key if the list is empty. So the last item is not cleared from a list.