diff --git a/INT69DC_7C/Forms/FormMain.cs b/INT69DC_7C/Forms/FormMain.cs index a069a44..b3ff25e 100644 --- a/INT69DC_7C/Forms/FormMain.cs +++ b/INT69DC_7C/Forms/FormMain.cs @@ -6971,8 +6971,7 @@ namespace INT69DC_7C.Forms this.smartFileIO.WriteStructure_Begin(structItem, 3); #endregion - - + this.smartFileIO.WriteStructure_End(); } public void SaveUserGroupFile(UserGroup item) @@ -7233,7 +7232,7 @@ namespace INT69DC_7C.Forms item.Level1.IsMenuEquipment = structItem.IsMenuEquipmentSetting; item.Level1.IsMenuIOTest = structItem.IsMenuIOTest; item.Level1.IsMenuStatistics = structItem.IsMenuDataStatistics; - item.Level1.IsMenuUser = structItem.IsMenuUserSetting; + item.Level1.IsMenuUser = true; item.Level1.IsMenuUserGroupEditor = structItem.IsMenuUserGroupSetting; item.Level1.IsMenuViewer = structItem.IsMenuDataViewer; #endregion @@ -7259,7 +7258,7 @@ namespace INT69DC_7C.Forms item.Level2.IsMenuEquipment = structItem.IsMenuEquipmentSetting; item.Level2.IsMenuIOTest = structItem.IsMenuIOTest; item.Level2.IsMenuStatistics = structItem.IsMenuDataStatistics; - item.Level2.IsMenuUser = structItem.IsMenuUserSetting; + item.Level2.IsMenuUser = true; item.Level2.IsMenuUserGroupEditor = structItem.IsMenuUserGroupSetting; item.Level2.IsMenuViewer = structItem.IsMenuDataViewer; #endregion @@ -7285,7 +7284,7 @@ namespace INT69DC_7C.Forms item.Level3.IsMenuEquipment = structItem.IsMenuEquipmentSetting; item.Level3.IsMenuIOTest = structItem.IsMenuIOTest; item.Level3.IsMenuStatistics = structItem.IsMenuDataStatistics; - item.Level3.IsMenuUser = structItem.IsMenuUserSetting; + item.Level3.IsMenuUser = true; item.Level3.IsMenuUserGroupEditor = structItem.IsMenuUserGroupSetting; item.Level3.IsMenuViewer = structItem.IsMenuDataViewer; #endregion @@ -7311,7 +7310,7 @@ namespace INT69DC_7C.Forms item.NotLogin.IsMenuEquipment = structItem.IsMenuEquipmentSetting; item.NotLogin.IsMenuIOTest = structItem.IsMenuIOTest; item.NotLogin.IsMenuStatistics = structItem.IsMenuDataStatistics; - item.NotLogin.IsMenuUser = structItem.IsMenuUserSetting; + item.NotLogin.IsMenuUser = false; item.NotLogin.IsMenuUserGroupEditor = structItem.IsMenuUserGroupSetting; item.NotLogin.IsMenuViewer = structItem.IsMenuDataViewer; #endregion