Fixed initialization of the format dropdown list
This commit is contained in:
@@ -161,6 +161,10 @@ namespace VEPROMS
|
||||
ppCmbxFormat.DisplayMember = "FullName";
|
||||
ppCmbxFormat.ValueMember = "FullName";
|
||||
ppCmbxFormat.DataSource = FormatInfoList.SortedFormatInfoList;
|
||||
if (_ProcedureConfig.FormatSelection != null)
|
||||
ppCmbxFormat.SelectedValue = _ProcedureConfig.FormatSelection;
|
||||
else
|
||||
ppCmbxFormat.SelectedIndex = -1;
|
||||
|
||||
// Get the saved settings for this user
|
||||
//
|
||||
@@ -221,6 +225,7 @@ namespace VEPROMS
|
||||
if (_ProcedureConfig.CreatingNew && dvc != null && dvc.MyEnhancedDocuments != null && dvc.MyEnhancedDocuments.Count > 0 && dvc.MyEnhancedDocuments[0].Type != 0)
|
||||
cbEnhanced.Visible = true;
|
||||
_Initializing = false;
|
||||
|
||||
}
|
||||
|
||||
#region General tab
|
||||
|
Reference in New Issue
Block a user