[Libreoffice-commits] core.git: svx/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sat Jan 25 17:32:47 UTC 2020
svx/source/sidebar/line/LinePropertyPanelBase.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit ee6b19259647aae001ff0f4150cbb0483e6786ec
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Jan 24 16:14:44 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Jan 25 18:32:15 2020 +0100
tdf#130157 Line Sidebar width, color, transparency, etc didn't work
Change-Id: I705e4ada386300ed626688b4e898227b60bff6a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87353
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svx/source/sidebar/line/LinePropertyPanelBase.cxx b/svx/source/sidebar/line/LinePropertyPanelBase.cxx
index e0bba5977fe6..348e3905a843 100644
--- a/svx/source/sidebar/line/LinePropertyPanelBase.cxx
+++ b/svx/source/sidebar/line/LinePropertyPanelBase.cxx
@@ -474,8 +474,8 @@ void LinePropertyPanelBase::SetWidth(long nWidth)
void LinePropertyPanelBase::ActivateControls()
{
- mxGridLineProps->set_sensitive(mbNoneLineStyle);
- mxBoxArrowProps->set_sensitive(mbNoneLineStyle);
+ mxGridLineProps->set_sensitive(!mbNoneLineStyle);
+ mxBoxArrowProps->set_sensitive(!mbNoneLineStyle);
mxLineStyleTB->set_item_visible(".uno:LineEndStyle", mbArrowSupported);
mxLineStyleTB->set_item_sensitive(".uno:LineEndStyle", !mbNoneLineStyle);
}
More information about the Libreoffice-commits
mailing list