mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-06 05:57:37 +03:00
Add monospaced font option for Notes field
This commit is contained in:
parent
a0d1304bfc
commit
d49e74c1f4
10 changed files with 44 additions and 3 deletions
|
@ -726,6 +726,11 @@ void EditEntryWidget::setForms(Entry* entry, bool restore)
|
|||
m_mainUi->notesEdit->setReadOnly(m_history);
|
||||
m_mainUi->notesEdit->setVisible(!config()->get("security/hidenotes").toBool());
|
||||
m_mainUi->notesHint->setVisible(config()->get("security/hidenotes").toBool());
|
||||
if (config()->get("GUI/MonospaceNotes", false).toBool()) {
|
||||
m_mainUi->notesEdit->setFont(Font::fixedFont());
|
||||
} else {
|
||||
m_mainUi->notesEdit->setFont(Font::defaultFont());
|
||||
}
|
||||
m_mainUi->togglePasswordGeneratorButton->setChecked(false);
|
||||
m_mainUi->togglePasswordGeneratorButton->setDisabled(m_history);
|
||||
m_mainUi->passwordGenerator->reset(entry->password().length());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue