Fixed B2015-227 where a user could not edit a table cell.

This commit is contained in:
John Jenko 2015-12-10 16:36:55 +00:00
parent cff61f8a3e
commit a078040f82

View File

@ -83,7 +83,7 @@ namespace Volian.Controls.Library
if (MyStepPanel.DisplayItemChanging) return; if (MyStepPanel.DisplayItemChanging) return;
MyStepRTB.MyItemInfo = MyItemInfo; // should be in vlnFlexGrid MyStepRTB.MyItemInfo = MyItemInfo; // should be in vlnFlexGrid
MyStepPanel.SelectedEditItem = this; MyStepPanel.SelectedEditItem = this;
if (MyFlexGrid.IsRoTable || !UserInfo.CanEdit(MyUserInfo,MyDVI));//(!MyUserInfo.IsAdministrator() && ! MyUserInfo.IsSetAdministrator(MyDVI) && !MyUserInfo.IsWriter(MyDVI))) if (MyFlexGrid.IsRoTable || !UserInfo.CanEdit(MyUserInfo,MyDVI))
{ {
MyFlexGrid.Cols.Fixed = MyFlexGrid.Cols.Count; MyFlexGrid.Cols.Fixed = MyFlexGrid.Cols.Count;
MyFlexGrid.Rows.Fixed = MyFlexGrid.Rows.Count; MyFlexGrid.Rows.Fixed = MyFlexGrid.Rows.Count;