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>
diff --git a/chart2/source/controller/dialogs/tp_AxisLabel.cxx b/chart2/source/controller/dialogs/tp_AxisLabel.cxx
index 066eefc..46e2771 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)