Small bug fix #24
@ -1873,7 +1873,7 @@ namespace Aml.Editor.Plugin
|
|||||||
IEnumerable<PackagePart> rootParts = amlx.GetPartsByRelationShipType(AutomationMLContainer.RelationshipType.Root);
|
IEnumerable<PackagePart> rootParts = amlx.GetPartsByRelationShipType(AutomationMLContainer.RelationshipType.Root);
|
||||||
|
|
||||||
// We expect the aml to only have one root part
|
// We expect the aml to only have one root part
|
||||||
if (rootParts.First() != null)
|
if (rootParts.Count() != 0 && rootParts.First() != null)
|
||||||
{
|
{
|
||||||
|
|
||||||
PackagePart part = rootParts.First();
|
PackagePart part = rootParts.First();
|
||||||
@ -4496,7 +4496,7 @@ namespace Aml.Editor.Plugin
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.advancedModeToolStripMenuItem.Text = "Expert mode";
|
this.advancedModeToolStripMenuItem.Text = "Advanced mode";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Show/hide elements
|
// Show/hide elements
|
||||||
|
Loading…
Reference in New Issue
Block a user