Skip to content

Commit

Permalink
ConfigDroneCAN: reset grid view on connect
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlong13 committed Sep 25, 2024
1 parent 58f9791 commit fb1afb0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions GCSViews/ConfigurationView/ConfigDroneCAN.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1620,6 +1620,9 @@ private void but_connect_Click(object sender, EventArgs e)
return;
}

// Reset the table of nodes
myDataGridView1.Rows.Clear();

cmb_interfacetype.Enabled = false;
cmb_networkinterface.Enabled = false;
but_connect.Text = "Disconnect";
Expand Down

0 comments on commit fb1afb0

Please sign in to comment.