diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.cs b/PROMS/VEPROMS User Interface/frmSectionProperties.cs index 7b23d9da..d21c128a 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.cs +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.cs @@ -80,7 +80,7 @@ namespace VEPROMS private void btnSectPropOK_Click(object sender, EventArgs e) { sectionConfigBindingSource.EndEdit(); - + // Save Default settings for User // // Save whether we should display the default values on this property page @@ -467,6 +467,7 @@ namespace VEPROMS // for word docs, no enhanced controls should be visible: grpLnkEnh.Visible = false; } + ppCmbxFormat.SelectedValue = _SectionConfig.FormatSelection; _Initializing = false; //_InitialIndex = ppCmbxFormat.SelectedIndex; } diff --git a/PROMS/Volian.Controls.Library/StepRTB.cs b/PROMS/Volian.Controls.Library/StepRTB.cs index 42c017ce..1565d1c2 100644 --- a/PROMS/Volian.Controls.Library/StepRTB.cs +++ b/PROMS/Volian.Controls.Library/StepRTB.cs @@ -2244,6 +2244,11 @@ namespace Volian.Controls.Library e.Handled = true; break; case Keys.F5: + if (!UserInfo.CanEdit(MyUserInfo, MyItemInfo.MyDocVersion)) + { + e.Handled = true; + break; + } if (e.Shift) { e.Handled = true;