From ae55c37347abf97126377914e66328a0eb0d3308 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 8 Oct 2018 20:25:08 +0100 Subject: Resolves: tdf#120370 should check gradientgrid sensitivity rather than whether listbox first entry is not selected Change-Id: Ic3dc574f6f1a476929e89e695849756437024cee Reviewed-on: https://gerrit.libreoffice.org/61560 Tested-by: Jenkins Reviewed-by: Christian Lohmaier --- cui/source/tabpages/tptrans.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui') diff --git a/cui/source/tabpages/tptrans.cxx b/cui/source/tabpages/tptrans.cxx index f75416c0c94b..0e199b672b65 100644 --- a/cui/source/tabpages/tptrans.cxx +++ b/cui/source/tabpages/tptrans.cxx @@ -300,7 +300,7 @@ bool SvxTransparenceTabPage::FillItemSet(SfxItemSet* rAttrs) } } } - else if (m_xLbTrgrGradientType->get_active()) + else if (m_xGridGradient->get_sensitive()) { // transparence gradient, fill ItemSet from values if (!bGradActive -- cgit