[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - chart2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 7 15:20:42 UTC 2019


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

New commits:
commit e3464875d4deddf51c87537299c7119c77765aa8
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Sat Jan 5 00:16:06 2019 +0100
Commit:     Xisco FaulĂ­ <xiscofauli at libreoffice.org>
CommitDate: Mon Jan 7 16:20:21 2019 +0100

    tdf#122494: Activate orientation by default
    
    Change-Id: I417c5b75206627b84c748ec5ef58c84c80e82683
    Reviewed-on: https://gerrit.libreoffice.org/65927
    Tested-by: Jenkins
    Reviewed-by: Xisco FaulĂ­ <xiscofauli at libreoffice.org>

diff --git a/chart2/source/controller/dialogs/tp_AxisLabel.cxx b/chart2/source/controller/dialogs/tp_AxisLabel.cxx
index 0272b44a97aa..69b1458780b4 100644
--- a/chart2/source/controller/dialogs/tp_AxisLabel.cxx
+++ b/chart2/source/controller/dialogs/tp_AxisLabel.cxx
@@ -277,10 +277,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