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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 16 05:22:35 UTC 2020


 sd/source/filter/html/pubdlg.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit d44dba1a56052e87b879ac986ad14a63bbca357d
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Apr 9 11:46:05 2020 +0100
Commit:     Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Thu Apr 16 07:22:00 2020 +0200

    Resolves: tdf#131996 set_sensitive should be set_active
    
    search and replace went wrong in:
    
    commit b94214350e6e3d0252c09f203a3ce7807a179f90
    Date:   Thu Jul 25 14:09:09 2019 +0100
    
        weld SdPublishingDlg
    
    Change-Id: I10af85633758a6e4c354f6fc957624122dd01f3c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91901
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx
index 7623d34a115d..3a31202e5e71 100644
--- a/sd/source/filter/html/pubdlg.cxx
+++ b/sd/source/filter/html/pubdlg.cxx
@@ -644,7 +644,7 @@ void SdPublishingDlg::SetDefaults()
     SetDesign(&aDefault);
 
     m_xPage1_NewDesign->set_active(true);
-    m_xPage1_OldDesign->set_sensitive(false);
+    m_xPage1_OldDesign->set_active(false);
     UpdatePage();
 }
 
@@ -828,7 +828,7 @@ IMPL_LINK( SdPublishingDlg, DesignHdl, weld::Button&, rButton, void )
     if (&rButton == m_xPage1_NewDesign.get())
     {
         m_xPage1_NewDesign->set_active(true); // because of DesignDeleteHdl
-        m_xPage1_OldDesign->set_sensitive(false);
+        m_xPage1_OldDesign->set_active(false);
         m_xPage1_Designs->set_sensitive(false);
         m_xPage1_DelDesign->set_sensitive(false);
         m_pDesign = nullptr;
@@ -838,7 +838,7 @@ IMPL_LINK( SdPublishingDlg, DesignHdl, weld::Button&, rButton, void )
     }
     else
     {
-        m_xPage1_NewDesign->set_sensitive(false);
+        m_xPage1_NewDesign->set_active(false);
         m_xPage1_Designs->set_sensitive(true);
         m_xPage1_DelDesign->set_sensitive(true);
 
@@ -946,7 +946,7 @@ IMPL_LINK( SdPublishingDlg, ResolutionHdl, weld::Button&, rButton, void )
 IMPL_LINK_NOARG(SdPublishingDlg, ButtonsHdl, SvtValueSet*, void)
 {
     // if one bitmap-button is chosen, then disable TextOnly
-    m_xPage5_TextOnly->set_sensitive(false);
+    m_xPage5_TextOnly->set_active(false);
 }
 
 // Fill the SfxItemSet with the settings of the dialog


More information about the Libreoffice-commits mailing list