mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-26 01:26:42 -05:00
hide note option
This commit is contained in:
parent
ff01a7da1e
commit
9840470df8
3 changed files with 12 additions and 2 deletions
|
|
@ -315,9 +315,10 @@ void EditEntryWidget::setForms(const Entry* entry, bool restore)
|
|||
m_mainUi->passwordRepeatEdit->setReadOnly(m_history);
|
||||
m_mainUi->expireCheck->setEnabled(!m_history);
|
||||
m_mainUi->expireDatePicker->setReadOnly(m_history);
|
||||
m_mainUi->notesEnabled->setChecked(true);
|
||||
m_mainUi->notesEnabled->setChecked(!config()->get("security/hidenotes").toBool());
|
||||
m_mainUi->notesEdit->setReadOnly(m_history);
|
||||
m_mainUi->notesEdit->setVisible(true);
|
||||
m_mainUi->notesEdit->setVisible(!config()->get("security/hidenotes").toBool());
|
||||
m_mainUi->notesHint->setVisible(config()->get("security/hidenotes").toBool());
|
||||
m_mainUi->togglePasswordGeneratorButton->setChecked(false);
|
||||
m_mainUi->togglePasswordGeneratorButton->setDisabled(m_history);
|
||||
m_mainUi->passwordGenerator->reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue