summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2019-01-05 00:16:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-01-07 10:09:19 +0100
commit31e69cac6c4a3a037affb2da81a2e13aff26b411 (patch)
treea2c22e1eb8c46832dfe67d1ae462a11f6cc1817f /chart2
parentc099fa431d9934ed8bfe811267168c2a0c4b2cc1 (diff)
tdf#122494: Activate orientation by default
Change-Id: I417c5b75206627b84c748ec5ef58c84c80e82683 Reviewed-on: https://gerrit.libreoffice.org/65879 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/dialogs/tp_AxisLabel.cxx6
1 files changed, 3 insertions, 3 deletions
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)