Get loading and saving of devices in Actions working. Lots of things needed to be "public" so reflection works.
This commit is contained in:
@ -2862,12 +2862,15 @@ namespace EduNetworkBuilder
|
||||
if (OurSettings != null && OurSettings.ReplayMode)
|
||||
{
|
||||
ActionCollection AC = OurSettings.GetUserActionCollection();
|
||||
if(AC != null && AC.GetActionCount >0)
|
||||
replayToolStripMenuItem.Visible = true; //Only visible if we have something to replay
|
||||
if (AC.CurrentNeedsStoring)
|
||||
storeReplayToolStripMenuItem.Visible = true;
|
||||
if (AC.HasUnsavedChanges)
|
||||
saveReplayToolStripMenuItem.Visible = true;
|
||||
if (AC != null)
|
||||
{
|
||||
if (AC.GetActionCount > 0)
|
||||
replayToolStripMenuItem.Visible = true; //Only visible if we have something to replay
|
||||
if (AC.CurrentNeedsStoring && AC.GetActionCount > 0)
|
||||
storeReplayToolStripMenuItem.Visible = true;
|
||||
if (AC.HasUnsavedChanges)
|
||||
saveReplayToolStripMenuItem.Visible = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user