Skip to content

Commit

Permalink
FlightPlanner: display rally points menu even if fence is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuy committed Oct 9, 2023
1 parent 29419f5 commit 52e3928
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions GCSViews/FlightPlanner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2663,12 +2663,10 @@ public void contextMenuStrip1_Opening(object sender, CancelEventArgs e)
if ((MainV2.comPort.MAV.cs.capabilities & (int) MAVLink.MAV_PROTOCOL_CAPABILITY.MISSION_FENCE) > 0)
{
geoFenceToolStripMenuItem.Visible = false;
rallyPointsToolStripMenuItem.Visible = false;
}
else
{
geoFenceToolStripMenuItem.Visible = true;
rallyPointsToolStripMenuItem.Visible = true;
}
}

Expand Down

0 comments on commit 52e3928

Please sign in to comment.