Skip to content

Commit

Permalink
Fix entry notes reveal button requiring two clicks sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
droidmonkey committed Oct 14, 2024
1 parent d57d167 commit 0288188
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/entry/EditEntryWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,7 @@ void EditEntryWidget::setForms(Entry* entry, bool restore)
m_mainUi->expireDatePicker->setReadOnly(m_history);
m_mainUi->revealNotesButton->setIcon(icons()->onOffIcon("password-show", false));
m_mainUi->revealNotesButton->setVisible(config()->get(Config::Security_HideNotes).toBool());
m_mainUi->revealNotesButton->setChecked(false);
m_mainUi->notesEdit->setReadOnly(m_history);
m_mainUi->notesEdit->setVisible(!config()->get(Config::Security_HideNotes).toBool());
if (config()->get(Config::GUI_MonospaceNotes).toBool()) {
Expand Down

0 comments on commit 0288188

Please sign in to comment.