Fix bug where Approved procedures where still editable
This commit is contained in:
parent
2cd2c471a8
commit
e84825ea75
@ -171,6 +171,12 @@ namespace Volian.Controls.Library
|
|||||||
_MyStepTabPanel.MyDisplayTabItem = this;
|
_MyStepTabPanel.MyDisplayTabItem = this;
|
||||||
((System.ComponentModel.ISupportInitialize)(_MyDisplayTabControl.MyBar)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(_MyDisplayTabControl.MyBar)).EndInit();
|
||||||
_MyDisplayTabControl.MyBar.ResumeLayout(false);
|
_MyDisplayTabControl.MyBar.ResumeLayout(false);
|
||||||
|
DocVersionInfo dvi = _MyItemInfo.MyProcedure.ActiveParent as DocVersionInfo; //MyStepItem.MyItemInfo.MyProcedure.ActiveParent as DocVersionInfo;
|
||||||
|
if (dvi == null) return;
|
||||||
|
if (dvi.VersionType > 127)
|
||||||
|
MyStepTabPanel.MyStepPanel.PanelViewEditMode = E_ViewMode.View;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates and sets-up a DSOTabPanel
|
/// Creates and sets-up a DSOTabPanel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user