[Libreoffice-commits] core.git: chart2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 7 09:09:41 UTC 2019


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

New commits:
commit 31e69cac6c4a3a037affb2da81a2e13aff26b411
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Sat Jan 5 00:16:06 2019 +0100
Commit:     Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at 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)


More information about the Libreoffice-commits mailing list