mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-25 15:55:38 -04:00
Correct checks for containers' emptiness
This commit is contained in:
parent
fc930bae69
commit
e81841550b
6 changed files with 9 additions and 8 deletions
|
@ -174,7 +174,7 @@ QSharedPointer<Database> DatabaseOpenWidget::database()
|
|||
|
||||
void DatabaseOpenWidget::enterKey(const QString& pw, const QString& keyFile)
|
||||
{
|
||||
if (!pw.isNull()) {
|
||||
if (!pw.isEmpty()) {
|
||||
m_ui->editPassword->setText(pw);
|
||||
}
|
||||
if (!keyFile.isEmpty()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue