diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-07 15:03:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-07-07 20:55:02 +0200 |
commit | 0cde19038d7e264d7a184042f10a41574bda11f5 (patch) | |
tree | 66f8c549a4aa1d7e86ee9a83d13561e6bb67dc3d /chart2 | |
parent | ee009595f2ff4fe3c9b6fb7bc5720ae14bec460f (diff) |
tdf#134603 [en|dis]able logic reversed
Change-Id: I192b7a6da4bcd311e64a31d9dc2b4c2b422194cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98266
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.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 32510374aa33..d23e393d5f13 100644 --- a/chart2/source/controller/dialogs/tp_TitleRotation.cxx +++ b/chart2/source/controller/dialogs/tp_TitleRotation.cxx @@ -62,10 +62,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_xCtrlDialWin->set_sensitive(bActive); + m_xNfRotate->set_sensitive(!bActive); + m_xCtrlDialWin->set_sensitive(!bActive); m_xCtrlDial->StyleUpdated(); - m_xFtRotate->set_sensitive(bActive); + m_xFtRotate->set_sensitive(!bActive); } SchAlignmentTabPage::~SchAlignmentTabPage() |