summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2018-05-31 15:03:03 -0800
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-06-02 00:51:02 +0200
commit94cb2ac3cb5f2c951f70c3bf6b28aad9e2c0bdb7 (patch)
tree2f3ed6f19ed94b690cf23750ed6b79b8398d0ca4 /cui/source
parent6fbcb4f1ad6bbcaac1fade0abf6bbe8215c1f4ab (diff)
tdf#105225 A section background tab page based on the area tab page
Change-Id: Ibe758cab371bc53207bd2ca617d123b7d660a774 Reviewed-on: https://gerrit.libreoffice.org/55149 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/tabpages/backgrnd.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index 6ad1cb6cc74a..c6e4a8952c6f 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -1577,6 +1577,12 @@ void SvxBkgTabPage::PageCreated(const SfxAllItemSet& aSet)
}
else if (nFlags & SvxBackgroundTabFlags::SHOW_HIGHLIGHTING)
bHighlighting = bool(nFlags & SvxBackgroundTabFlags::SHOW_HIGHLIGHTING);
+ else if (nFlags & SvxBackgroundTabFlags::SHOW_SELECTOR)
+ {
+ VclPtr<vcl::Window> pBtn;
+ get(pBtn, "btnbitmap");
+ pBtn->Show();
+ }
}
SvxAreaTabPage::PageCreated( aSet );
}