[Libreoffice-commits] core.git: Branch 'distro/nisz/libreoffice-6-4' - chart2/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Sep 13 13:46:32 UTC 2020


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

New commits:
commit 528f91e4e1f369733d2a624e81c37a549806b96d
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jul 7 15:03:35 2020 +0100
Commit:     Gabor Kelemen <kelemen.gabor2 at nisz.hu>
CommitDate: Sun Sep 13 15:46:02 2020 +0200

    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 at ubuntu.com>
    (cherry picked from commit f1b1be9e3707b2e25557f4f781e3321051018683)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102562
    Tested-by: Gabor Kelemen <kelemen.gabor2 at nisz.hu>
    Reviewed-by: Gabor Kelemen <kelemen.gabor2 at nisz.hu>

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()


More information about the Libreoffice-commits mailing list