Hide menu items for actions when needed
This commit is contained in:
parent
f68e3138f4
commit
14337fdc06
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user