chart2/source/controller/dialogs/tp_TitleRotation.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 0cde19038d7e264d7a184042f10a41574bda11f5
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Tue Jul 7 15:03:35 2020 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Tue Jul 7 20:55:02 2020 +0200

    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 <caol...@redhat.com>

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()
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to