[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - chart2/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Jul 7 22:13:00 UTC 2020


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

New commits:
commit faa9ed4c2bc043cb2c483db799c2a696b66a5435
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jul 7 15:03:35 2020 +0100
Commit:     Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Wed Jul 8 00:12:26 2020 +0200

    tdf#134603 [en|dis]able logic reversed
    
    Change-Id: I192b7a6da4bcd311e64a31d9dc2b4c2b422194cb
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98271
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.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()


More information about the Libreoffice-commits mailing list