mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-29 01:06:27 -05:00
parent
a273deae12
commit
59bd238ae1
@ -165,6 +165,7 @@ void DatabaseOpenWidget::clearForms()
|
|||||||
m_ui->editPassword->setText("");
|
m_ui->editPassword->setText("");
|
||||||
m_ui->editPassword->setShowPassword(false);
|
m_ui->editPassword->setShowPassword(false);
|
||||||
m_ui->keyFileLineEdit->clear();
|
m_ui->keyFileLineEdit->clear();
|
||||||
|
m_ui->keyFileLineEdit->setShowPassword(false);
|
||||||
m_ui->checkTouchID->setChecked(false);
|
m_ui->checkTouchID->setChecked(false);
|
||||||
m_ui->challengeResponseCombo->clear();
|
m_ui->challengeResponseCombo->clear();
|
||||||
m_db.reset();
|
m_db.reset();
|
||||||
@ -378,6 +379,7 @@ void DatabaseOpenWidget::browseKeyFile()
|
|||||||
void DatabaseOpenWidget::clearKeyFileText()
|
void DatabaseOpenWidget::clearKeyFileText()
|
||||||
{
|
{
|
||||||
m_ui->keyFileLineEdit->clear();
|
m_ui->keyFileLineEdit->clear();
|
||||||
|
m_ui->keyFileLineEdit->setShowPassword(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DatabaseOpenWidget::pollHardwareKey()
|
void DatabaseOpenWidget::pollHardwareKey()
|
||||||
|
@ -406,7 +406,7 @@
|
|||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item row="0" column="1">
|
<item row="0" column="1">
|
||||||
<widget class="QLineEdit" name="keyFileLineEdit">
|
<widget class="PasswordEdit" name="keyFileLineEdit">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
@ -416,6 +416,9 @@
|
|||||||
<property name="accessibleName">
|
<property name="accessibleName">
|
||||||
<string>Key file to unlock the database</string>
|
<string>Key file to unlock the database</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="echoMode">
|
||||||
|
<enum>QLineEdit::Password</enum>
|
||||||
|
</property>
|
||||||
<property name="clearButtonEnabled">
|
<property name="clearButtonEnabled">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user