sfx2/source/dialog/passwd.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 1c2385a1faf0d38a6b627df082f7db54beee1ab8 Author: Balazs Varga <[email protected]> AuthorDate: Mon Feb 16 10:12:00 2026 +0100 Commit: Balazs Varga <[email protected]> CommitDate: Tue Feb 17 09:07:21 2026 +0100 tdf#170819 - fix unprotect sheet dialog has two icons "show password" follow-up of 6eb1a3c4b08f004c074dac41dee31bacb38216a5 (tdf#146947 - UI: Ability to show/reveal characters being typed into) Change-Id: I3d1dd8790aec404390a033e738718a1a151415e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199457 Reviewed-by: Balazs Varga <[email protected]> Tested-by: Jenkins diff --git a/sfx2/source/dialog/passwd.cxx b/sfx2/source/dialog/passwd.cxx index fcbfc60a0ba9..8a11704fcee6 100644 --- a/sfx2/source/dialog/passwd.cxx +++ b/sfx2/source/dialog/passwd.cxx @@ -335,6 +335,9 @@ void SfxPasswordDialog::PreRun() m_xConfirm2FT->hide(); m_xConfirm2ED->hide(); m_xPassword2StrengthBar->hide(); + m_xBtn2->hide(); + m_xBtn3->hide(); + m_xBtn4->hide(); if (mnExtras != SfxShowExtras::NONE) m_xPassword1FT->show(); @@ -348,18 +351,21 @@ void SfxPasswordDialog::PreRun() m_xConfirm1FT->show(); m_xConfirm1ED->show(); m_xPassword1StrengthBar->show(); + m_xBtn2->show(); } if (mnExtras & SfxShowExtras::PASSWORD2) { m_xPassword2Box->show(); m_xPassword2FT->show(); m_xPassword2ED->show(); + m_xBtn3->show(); } if (mnExtras & SfxShowExtras::CONFIRM2) { m_xConfirm2FT->show(); m_xConfirm2ED->show(); m_xPassword2StrengthBar->show(); + m_xBtn4->show(); } }
