Bug fix B2013-015. Fixed a refresh problem that sometimes happens when you delete a step.
Bug fix B2013-016, added a check for the existence of the path assigned to the roapp environment variable
This commit is contained in:
@@ -683,6 +683,20 @@ namespace Volian.Controls.Library
|
||||
newFocus.AdjustLocation();
|
||||
//newFocus.ShowTops("");
|
||||
//_MyTimer.ShowElapsedTimes("RemoveItem");
|
||||
ForceEditItemRefresh(newFocus);
|
||||
}
|
||||
|
||||
private static void ForceEditItemRefresh(EditItem newFocus)
|
||||
{
|
||||
// bug fix
|
||||
// need to force a refresh from the level above the step that was removed.
|
||||
// this fixes a problem where the following step/substep wasn't shown on the screen (but was there)
|
||||
// and fixes a problem where the sequence numbers were off by one
|
||||
// and fixes a problem where an edit window would end up on top of the ones above it
|
||||
EditItem ei = newFocus;
|
||||
while (ei.MyPreviousEditItem != null) ei = ei.MyPreviousEditItem;
|
||||
if (ei.MyParentEditItem != null)
|
||||
ei.MyParentEditItem.Expand(true);
|
||||
}
|
||||
public EditItem DeleteItem()
|
||||
{
|
||||
|
Reference in New Issue
Block a user