[Libreoffice-commits] core.git: sd/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Apr 9 18:35:54 UTC 2020
sd/source/filter/html/pubdlg.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit fae050ebf984fb70fc8328419c6da4b8895d582f
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Apr 9 11:46:05 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Apr 9 20:35:14 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/+/91962
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx
index 6026e78c67aa..c9e0afdb821b 100644
--- a/sd/source/filter/html/pubdlg.cxx
+++ b/sd/source/filter/html/pubdlg.cxx
@@ -648,7 +648,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();
}
@@ -832,7 +832,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;
@@ -842,7 +842,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);
@@ -950,7 +950,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