diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-07 15:03:35 +0100 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2020-07-08 00:13:59 +0200 |
commit | f1b1be9e3707b2e25557f4f781e3321051018683 (patch) | |
tree | 5eb2ff0208d351a491202e266efe405a15ebe931 | |
parent | eee6441bc9eea847ba4b338baf99ab47913fcd61 (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>
-rw-r--r-- | chart2/source/controller/dialogs/tp_TitleRotation.cxx | 6 |
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() |