Fix a traversal class not serializable error.

This commit is contained in:
Tim Young 2018-03-18 15:07:49 -05:00
parent 6d73465385
commit 383fdb9553
2 changed files with 2 additions and 0 deletions

View File

@ -2206,6 +2206,7 @@ namespace EduNetworkBuilder
private void optionsToolStripMenuItem_Click(object sender, EventArgs e) private void optionsToolStripMenuItem_Click(object sender, EventArgs e)
{ {
ProcessChange(); //make sure we make an undo-point in case a change is made.
OptionsWindow tWindow = new OptionsWindow(myNetwork); OptionsWindow tWindow = new OptionsWindow(myNetwork);
tWindow.ShowDialog(); tWindow.ShowDialog();
myNetwork.UpdateDeviceSizes(); myNetwork.UpdateDeviceSizes();

View File

@ -9,6 +9,7 @@ namespace EduNetworkBuilder
[Serializable] [Serializable]
public class TraversalClass public class TraversalClass
{ {
[Serializable]
protected struct TraversalRecord protected struct TraversalRecord
{ {
public string host; public string host;