Get Action list to save
This commit is contained in:
@ -2858,14 +2858,28 @@ namespace EduNetworkBuilder
|
||||
}
|
||||
}
|
||||
|
||||
private void storeReplayToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
private void storeReplayToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
StoreReplay();
|
||||
}
|
||||
|
||||
void SaveReplayFile()
|
||||
{
|
||||
NBSettings ourSettings = NB.GetSettings();
|
||||
if (OurSettings != null && OurSettings.ReplayMode)
|
||||
{
|
||||
ActionCollection AC = OurSettings.GetUserActionCollection();
|
||||
if (AC.HasUnsavedChanges)
|
||||
{
|
||||
ourSettings.SaveActions();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void saveReplayToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
SaveReplayFile();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user