diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-07 15:03:35 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2020-07-11 11:57:57 +0200 |
commit | fd706799c8c91db340464c38ae8d4ca3dcf82575 (patch) | |
tree | 8cda05c20eb8880f19bc1fdf22bd6cf1df15568d /chart2 | |
parent | bf0c2ad460d52f0dda94225eee775649faf1b3a1 (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>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98514
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'chart2')
-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() |