From 14337fdc06116a6fab2bba9b1988f86915761c22 Mon Sep 17 00:00:00 2001 From: Tim Young Date: Fri, 11 May 2018 10:53:39 -0500 Subject: [PATCH] Hide menu items for actions when needed --- EduNetworkBuilder/NetworkBuilder.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/EduNetworkBuilder/NetworkBuilder.cs b/EduNetworkBuilder/NetworkBuilder.cs index 32fb133..dfe1ce0 100644 --- a/EduNetworkBuilder/NetworkBuilder.cs +++ b/EduNetworkBuilder/NetworkBuilder.cs @@ -2838,6 +2838,10 @@ namespace EduNetworkBuilder 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; } else {