B2014-024 PROMS was crashing with a Null Reference error when opening and closing procedures in split screen mode.
This commit is contained in:
parent
35b4a336d6
commit
1b9fbf27b5
@ -185,7 +185,8 @@ namespace Volian.Controls.Library
|
|||||||
_ShowingItem = true;
|
_ShowingItem = true;
|
||||||
//if (ItemSelected != null)
|
//if (ItemSelected != null)
|
||||||
_MyStepPanel.ItemShow();
|
_MyStepPanel.ItemShow();
|
||||||
_MyStepPanel.MyStepTabPanel.MyStepTabRibbon.SetUpdRoValBtn(_MyStepPanel.MyStepTabPanel.MyStepTabRibbon.NewerRoFst());
|
if (_MyStepPanel.MyStepTabPanel != null) // B2014-024 if MyStepTabPanel is null then we are in the process of closing the procedure in that step panel
|
||||||
|
_MyStepPanel.MyStepTabPanel.MyStepTabRibbon.SetUpdRoValBtn(_MyStepPanel.MyStepTabPanel.MyStepTabRibbon.NewerRoFst());
|
||||||
_ShowingItem = false;
|
_ShowingItem = false;
|
||||||
_MyDisplayTabControl.SelectedDisplayTabItem = MyDisplayTabItem;
|
_MyDisplayTabControl.SelectedDisplayTabItem = MyDisplayTabItem;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user