sw/source/uibase/sidebar/StylePresetsPanel.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit d2cbf5d1aba6a2a74b0e6ca99cb27242f9582a94 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Thu Sep 24 12:30:10 2015 +0200 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Wed Jun 30 16:23:25 2021 +0200 StylePresets: set bacground color for ValueSet Change-Id: Ifbaab139235dbe2fdcebf278bce2c91c2b744aa6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118150 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.cxx b/sw/source/uibase/sidebar/StylePresetsPanel.cxx index 79b1b93ed34c..981f26b3e839 100644 --- a/sw/source/uibase/sidebar/StylePresetsPanel.cxx +++ b/sw/source/uibase/sidebar/StylePresetsPanel.cxx @@ -13,8 +13,9 @@ #include "StylePresetsPanel.hxx" #include <vcl/image.hxx> -#include <vcl/virdev.hxx> +#include <vcl/settings.hxx> #include <vcl/svapp.hxx> +#include <vcl/virdev.hxx> #include <sfx2/objsh.hxx> #include <sfx2/StylePreviewRenderer.hxx> @@ -145,6 +146,7 @@ StylePresetsPanel::StylePresetsPanel(weld::Widget* pParent) { mxValueSet->SetColCount(2); + mxValueSet->SetColor(Application::GetSettings().GetStyleSettings().GetFaceColor()); mxValueSet->SetDoubleClickHdl(LINK(this, StylePresetsPanel, DoubleClickHdl)); RefreshList(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits