Fixed issue where the first page of a word section was not properly rotated to account for the contents being set to landscape in word (this section is set to use Word margins)

Fixed issue where a couple of default buttons were appearing when they shouldn’t.
This commit is contained in:
2015-11-17 14:44:05 +00:00
parent 9f0d28440b
commit 2fd42cb33b
2 changed files with 15 additions and 5 deletions

View File

@@ -283,7 +283,7 @@ namespace VEPROMS
ppCmbxSectPagination.ValueMember = "EValue";
ppCmbxSectPagination.SelectedIndex = -1;
SectionConfig.SectionPagination sp = _SectionConfig.Section_Pagination;
if (!(sp.ToString().Equals(_DefaultPaginationStyle)))
if (!(sp.ToString().Equals(_DefaultPaginationStyle)) && _isStepSection)
{
ppBtnDefaultPaginationStyle.Visible = true;
ppCmbxSectPagination.SelectedValue = sp;
@@ -300,7 +300,7 @@ namespace VEPROMS
ppCmbxNumColumns.ValueMember = "EValue";
ppCmbxNumColumns.SelectedIndex = -1;
SectionConfig.SectionColumnMode sc = _SectionConfig.Section_ColumnMode;
if (!(sc.ToString().Equals(_DefaultNumColumns)))
if (!(sc.ToString().Equals(_DefaultNumColumns)) && _isStepSection)
{
ppBtnDefaultNumColumns.Visible = true;
ppCmbxNumColumns.SelectedValue = sc;