Add an option to show passwords by default.

Closes #93
This commit is contained in:
Felix Geyer
2014-01-12 17:23:47 +01:00
parent 223c5a1651
commit 29c997e1bc
4 changed files with 13 additions and 1 deletions

View File

@@ -308,7 +308,7 @@ void EditEntryWidget::setForms(const Entry* entry, bool restore)
m_mainUi->expireCheck->setChecked(entry->timeInfo().expires());
m_mainUi->expireDatePicker->setDateTime(entry->timeInfo().expiryTime().toLocalTime());
m_mainUi->expirePresets->setEnabled(!m_history);
m_mainUi->togglePasswordButton->setChecked(false);
m_mainUi->togglePasswordButton->setChecked(config()->get("security/passwordscleartext").toBool());
m_mainUi->notesEdit->setPlainText(entry->notes());