B2019-003: Proms crashes when one user is in a procedure and another user tries to enter the same procedure via an itemid
This commit is contained in:
parent
b96b577892
commit
8ca5295847
@ -2022,6 +2022,9 @@ namespace VEPROMS
|
||||
if (ii != null)
|
||||
{
|
||||
DisplayTabItem dti = tc.OpenItem(ii);// B2018-035 Allow procedure to be printed and property grid to be opened
|
||||
// B2019-003: was crashing if another user was in same procedure (dti would have been null because procedure could not be opened):
|
||||
if (dti == null) return;
|
||||
|
||||
SelectedStepTabPanel = dti.MyStepTabPanel;
|
||||
tc.SelectedDisplayTabItem = dti;
|
||||
dti.SelectedItemInfo = ii;
|
||||
|
Loading…
x
Reference in New Issue
Block a user