diff options
author | Justin Luth <justin.luth@collabora.com> | 2020-10-31 15:36:44 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-11-10 14:28:24 +0100 |
commit | 60c31f444ae566c19495bfff90b0216fc3f01091 (patch) | |
tree | c13a83fc2725d5b2bf5c269ad9be71ac81189093 | |
parent | d28e83bbf0f3dc1c7ddf63d04a2a9b65279bae45 (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>
(cherry picked from commit 9eeaff5fa9070bea685db8b6bbd2dfc1565756ac)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105060
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r-- | sc/source/ui/miscdlgs/retypepassdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/miscdlgs/retypepassdlg.cxx b/sc/source/ui/miscdlgs/retypepassdlg.cxx index 14b51656b01b..78a43059f3cd 100644 --- a/sc/source/ui/miscdlgs/retypepassdlg.cxx +++ b/sc/source/ui/miscdlgs/retypepassdlg.cxx @@ -403,7 +403,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); } } |