diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2019-01-05 00:16:06 +0100 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2019-01-07 16:20:21 +0100 |
commit | e3464875d4deddf51c87537299c7119c77765aa8 (patch) | |
tree | e6350cd949afe44d13e42fe322eecfe1c1222fb7 /chart2 | |
parent | 4cfedb473850398ca7dd2cbf3df4e37fc6251d85 (diff) |
tdf#122494: Activate orientation by default
Change-Id: I417c5b75206627b84c748ec5ef58c84c80e82683
Reviewed-on: https://gerrit.libreoffice.org/65927
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/tp_AxisLabel.cxx | 6 |
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 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) |