mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-09 21:55:48 -05:00
Prevent crash when editing master key
This commit is contained in:
parent
38826a851d
commit
bc3a7522a2
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ bool PasswordEditWidget::isPasswordVisible() const
|
||||||
|
|
||||||
bool PasswordEditWidget::isEmpty() const
|
bool PasswordEditWidget::isEmpty() const
|
||||||
{
|
{
|
||||||
return m_compUi->enterPasswordEdit->text().isEmpty();
|
return (visiblePage() == Page::Edit) && m_compUi->enterPasswordEdit->text().isEmpty();
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget* PasswordEditWidget::componentEditWidget()
|
QWidget* PasswordEditWidget::componentEditWidget()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue