chart2/source/controller/dialogs/tp_AxisLabel.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 31e69cac6c4a3a037affb2da81a2e13aff26b411
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Sat Jan 5 00:16:06 2019 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Mon Jan 7 10:09:19 2019 +0100

    tdf#122494: Activate orientation by default
    
    Change-Id: I417c5b75206627b84c748ec5ef58c84c80e82683
    Reviewed-on: https://gerrit.libreoffice.org/65879
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/chart2/source/controller/dialogs/tp_AxisLabel.cxx 
b/chart2/source/controller/dialogs/tp_AxisLabel.cxx
index 066eefcdbd50..46e277159bdb 100644
--- a/chart2/source/controller/dialogs/tp_AxisLabel.cxx
+++ b/chart2/source/controller/dialogs/tp_AxisLabel.cxx
@@ -276,10 +276,10 @@ void SchAxisLabelTabPage::SetComplexCategories( bool 
bComplexCategories )
 IMPL_LINK_NOARG(SchAxisLabelTabPage, StackedToggleHdl, weld::ToggleButton&, 
void)
 {
     bool bActive = m_xCbStacked->get_active() && m_xCbStacked->get_sensitive();
-    m_xNfRotate->set_sensitive(bActive);
-    m_xCtrlDial->set_sensitive(bActive);
+    m_xNfRotate->set_sensitive(!bActive);
+    m_xCtrlDial->set_sensitive(!bActive);
     m_aCtrlDial.StyleUpdated();
-    m_xFtRotate->set_sensitive(bActive);
+    m_xFtRotate->set_sensitive(!bActive);
 }
 
 IMPL_LINK_NOARG(SchAxisLabelTabPage, ToggleShowLabel, weld::ToggleButton&, 
void)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to