B2016-067: Copy/paste/property edit of section caused format to change

B2016-064: Reviewer can no longer copy/paste steps via keyboard shortcut F5
This commit is contained in:
Kathy Ruffing 2016-03-03 16:52:10 +00:00
parent b400a27cd4
commit 235024bef4
2 changed files with 7 additions and 1 deletions

View File

@ -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;
}

View File

@ -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;