Fixes to bugs when all step editor windows are shut/reopened
This commit is contained in:
parent
574041385b
commit
9e53d7d073
@ -898,6 +898,8 @@ namespace VEPROMS
|
|||||||
ctrlAnnotationDetails.CurrentAnnotation = null;
|
ctrlAnnotationDetails.CurrentAnnotation = null;
|
||||||
ctrlAnnotationDetails.Annotations = null;
|
ctrlAnnotationDetails.Annotations = null;
|
||||||
infotabRO.Visible = infotabTransition.Visible = infotabTags.Visible = false;
|
infotabRO.Visible = infotabTransition.Visible = infotabTags.Visible = false;
|
||||||
|
// When infotabTags is set to InVisible, the matching panel also needs to be set to invisible
|
||||||
|
infotabControlPanelTags.Visible = false;
|
||||||
SelectedStepTabPanel = null;
|
SelectedStepTabPanel = null;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -925,6 +927,11 @@ namespace VEPROMS
|
|||||||
{
|
{
|
||||||
//vlnStackTrace.ShowStack("enter tc_ItemSelectedChanged {0}", _CurrentItem);
|
//vlnStackTrace.ShowStack("enter tc_ItemSelectedChanged {0}", _CurrentItem);
|
||||||
infotabRO.Visible = infotabTransition.Visible = infotabTags.Visible = true;
|
infotabRO.Visible = infotabTransition.Visible = infotabTags.Visible = true;
|
||||||
|
// When infotabTags is set to Visible, the matching panel also needs to be set to visible
|
||||||
|
// the other panels will appear as they are selected by the user.
|
||||||
|
infotabControlPanelTags.Visible = true;
|
||||||
|
// When infotabTags is set to Visible, it is given focus. The next line returns focus to the StepRTB
|
||||||
|
args.MyStepItem.MyStepRTB.Focus();
|
||||||
displayTransition.MyRTB = args.MyStepItem.MyStepRTB;
|
displayTransition.MyRTB = args.MyStepItem.MyStepRTB;
|
||||||
displayRO.MyRTB = args.MyStepItem.MyStepRTB;
|
displayRO.MyRTB = args.MyStepItem.MyStepRTB;
|
||||||
displayTags.MyRTB = args.MyStepItem.MyStepRTB;
|
displayTags.MyRTB = args.MyStepItem.MyStepRTB;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user