| commit | 9eeaff5fa9070bea685db8b6bbd2dfc1565756ac | [log] |
|---|---|---|
| author | Justin Luth <justin.luth@collabora.com> | Sat Oct 31 15:36:44 2020 +0300 |
| committer | Caolán McNamara <caolanm@redhat.com> | Sun Nov 01 16:48:48 2020 +0100 |
| tree | f019cd4d1650760179650291d0b2e8eccc607629 | |
| parent | d946d9efe59bb08426b94c44feb146a6ebd347cc [diff] |
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/+/105049 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/sc/source/ui/miscdlgs/retypepassdlg.cxx b/sc/source/ui/miscdlgs/retypepassdlg.cxx index f422915a..63c1d06 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); } }