mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-07 06:27:39 +03:00
Small refactoring in EditWidget and EditEntryWidget.
This commit is contained in:
parent
25f15073cc
commit
b0280e9d93
3 changed files with 7 additions and 5 deletions
|
@ -73,7 +73,6 @@ EditEntryWidget::EditEntryWidget(QWidget* parent)
|
|||
setupIcon();
|
||||
setupAutoType();
|
||||
setupProperties();
|
||||
// when adding a new row, update setRowHidden() call
|
||||
setupHistory();
|
||||
|
||||
connect(this, SIGNAL(accepted()), SLOT(saveEntry()));
|
||||
|
@ -280,7 +279,7 @@ void EditEntryWidget::loadEntry(Entry* entry, bool create, bool history, const Q
|
|||
setForms(entry);
|
||||
|
||||
setCurrentRow(0);
|
||||
setRowHidden(6, m_history);
|
||||
setRowHidden(m_historyWidget, m_history);
|
||||
}
|
||||
|
||||
void EditEntryWidget::setForms(const Entry* entry, bool restore)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue