From fa8c85fa90e9565a357b247a69f930098d11ff84 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 16 Jan 2020 16:38:15 +0000 Subject: weld gallery panel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4aebb3f90e9943044d106a507972c39434988f03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87003 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- svtools/source/control/valueset.cxx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'svtools/source') diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index 414f3ae6a2ad..69d674be295d 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -4013,4 +4013,18 @@ void SvtValueSet::SetColor(const Color& rColor) Invalidate(); } +void SvtValueSet::Show() +{ + if (mxScrolledWindow) + mxScrolledWindow->show(); + CustomWidgetController::Show(); +} + +void SvtValueSet::Hide() +{ + CustomWidgetController::Hide(); + if (mxScrolledWindow) + mxScrolledWindow->hide(); +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit