B2018-009 - The folder tree view was showing both DocVersions (Working Drafts and Folders). It was not consistent, Sometimes Working Drafts would be shown for folders and sometimes they would not. The code has been changed to only show folders.
Also, since you can select any folder, it is possible to select a folder that does not have any procedures. The code has been changed to only allow you to add a transition to a valid folder. B2018-005 - Changes to Tables not being saved if the user selects a button from the Ribbon that creates a step while a cell is still in edit mode. This has been corrected
This commit is contained in:
@@ -1064,6 +1064,8 @@ namespace Volian.Controls.Library
|
||||
// else do a after from current HLS - if not at HLS, go up parents until find it.
|
||||
else if (fromtype == 0 && !_MyEditItem.MyItemInfo.IsStepSection)
|
||||
{
|
||||
if (_MyEditItem.MyItemInfo.IsTable) // B2018-005 Save Current Changes to the table
|
||||
_MyEditItem.MyParentEditItem.Select(); // High Level Step
|
||||
EditItem hlsEditItem = _MyEditItem;
|
||||
while (!hlsEditItem.MyItemInfo.IsHigh)
|
||||
hlsEditItem = hlsEditItem.ActiveParent;
|
||||
@@ -1071,8 +1073,8 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
else if (contenttype == 21040)
|
||||
{
|
||||
if (_MyEditItem.MyItemInfo.IsTable) // B2018-005 Save Current Changes to the table
|
||||
_MyEditItem.MyParentEditItem.Select();
|
||||
if (_MyEditItem.MyItemInfo.IsTable) // B2018-005 Save Current Changes to the table
|
||||
_MyEditItem.MyParentEditItem.Select(); // SupInfo
|
||||
_MyEditItem.AddChild((E_FromType)fromtype, 20040);
|
||||
}
|
||||
else if (InsertingTable(contenttype))
|
||||
@@ -1365,15 +1367,15 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
private void btnInsBefore_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (_MyEditItem.MyItemInfo.IsTable) // B2018-005 Save Current Changes to the table
|
||||
_MyEditItem.MyParentEditItem.Select();
|
||||
if (_MyEditItem.MyItemInfo.IsTable) // B2018-005 Save Current Changes to the table
|
||||
_MyEditItem.MyParentEditItem.Select(); // Previous
|
||||
_MyEditItem.AddSiblingBefore();
|
||||
}
|
||||
|
||||
private void btnInsAfter_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (_MyEditItem.MyItemInfo.IsTable) // B2018-005 Save Current Changes to the table
|
||||
_MyEditItem.MyParentEditItem.Select();
|
||||
if (_MyEditItem.MyItemInfo.IsTable) // B2018-005 Save Current Changes to the table
|
||||
_MyEditItem.MyParentEditItem.Select(); // Next
|
||||
_MyEditItem.AddSiblingAfter();
|
||||
}
|
||||
/// <summary>
|
||||
@@ -3539,16 +3541,16 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
StepTabPanel tmp = Parent as StepTabPanel;
|
||||
if (tmp.MyDisplayTabControl.MyCopyStep == null) return;
|
||||
if (_MyEditItem.MyItemInfo.IsTable) // B2018-005 Save Current Changes to the table
|
||||
_MyEditItem.MyParentEditItem.Select();
|
||||
if (_MyEditItem.MyItemInfo.IsTable) // B2018-005 Save Current Changes to the table
|
||||
_MyEditItem.MyParentEditItem.Select(); // Paste After
|
||||
MyEditItem.PasteSiblingAfter(tmp.MyDisplayTabControl.MyCopyStep.ItemID);
|
||||
}
|
||||
private void btnPasteBefore_Click(object sender, EventArgs e)
|
||||
{
|
||||
StepTabPanel tmp = Parent as StepTabPanel;
|
||||
if (tmp.MyDisplayTabControl.MyCopyStep == null) return;
|
||||
if (_MyEditItem.MyItemInfo.IsTable) // B2018-005 Save Current Changes to the table
|
||||
_MyEditItem.MyParentEditItem.Select();
|
||||
if (_MyEditItem.MyItemInfo.IsTable) // B2018-005 Save Current Changes to the table
|
||||
_MyEditItem.MyParentEditItem.Select(); // Paste Before
|
||||
MyEditItem.PasteSiblingBefore(tmp.MyDisplayTabControl.MyCopyStep.ItemID);
|
||||
}
|
||||
private void btnStepPaste_Click(object sender, EventArgs e)
|
||||
|
Reference in New Issue
Block a user