sc/source/ui/miscdlgs/retypepassdlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0385dd46907455e5f6aeba4689ad8cce9b786702
Author:     Justin Luth <justin.l...@collabora.com>
AuthorDate: Sat Oct 31 15:36:44 2020 +0300
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sat Oct 31 20:39:17 2020 +0100

    tdf#137897 scRetypePassInputDlg: re-allow password removal
    
    This weld-conversion logic error caused a LO 6.1 regression
    in commit 0e4f93e88bfae3489d2de84fc2febed100880628.
    
    -   m_pPasswordGrid->Disable();
    +   m_xPasswordGrid->set_sensitive(false);  //disable == false
    -   m_pBtnOk->Enable();
    +   m_xBtnOk->set_sensitive(false);         //enable == true
    
    The result is that attempting to remove the password did not
    enable the OK button, so it was impossible.
    
    Change-Id: I4067b2ec6b89e86b21968d33c8850cca6d067e71
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105101
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <justin_l...@sil.org>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sc/source/ui/miscdlgs/retypepassdlg.cxx 
b/sc/source/ui/miscdlgs/retypepassdlg.cxx
index a80afe1fbd68..3a71dc27e16a 100644
--- a/sc/source/ui/miscdlgs/retypepassdlg.cxx
+++ b/sc/source/ui/miscdlgs/retypepassdlg.cxx
@@ -371,7 +371,7 @@ IMPL_LINK_NOARG(ScRetypePassInputDlg, RadioBtnHdl, 
weld::ToggleButton&, void)
     else
     {
         m_xPasswordGrid->set_sensitive(false);
-        m_xBtnOk->set_sensitive(false);
+        m_xBtnOk->set_sensitive(true);
     }
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to