summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-07 15:03:35 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2020-07-08 00:13:59 +0200
commitf1b1be9e3707b2e25557f4f781e3321051018683 (patch)
tree5eb2ff0208d351a491202e266efe405a15ebe931 /chart2
parenteee6441bc9eea847ba4b338baf99ab47913fcd61 (diff)
tdf#134603 [en|dis]able logic reversed
Change-Id: I192b7a6da4bcd311e64a31d9dc2b4c2b422194cb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98267 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/dialogs/tp_TitleRotation.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/dialogs/tp_TitleRotation.cxx b/chart2/source/controller/dialogs/tp_TitleRotation.cxx
index 1cd5ecdf6558..022489881359 100644
--- a/chart2/source/controller/dialogs/tp_TitleRotation.cxx
+++ b/chart2/source/controller/dialogs/tp_TitleRotation.cxx
@@ -61,10 +61,10 @@ SchAlignmentTabPage::SchAlignmentTabPage(weld::Container* pPage, weld::DialogCon
IMPL_LINK_NOARG(SchAlignmentTabPage, StackedToggleHdl, weld::ToggleButton&, void)
{
bool bActive = m_xCbStacked->get_active();
- 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);
}
SchAlignmentTabPage::~SchAlignmentTabPage()