mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-06 22:17:39 +03:00
Hide history row when viewing history items.
This commit is contained in:
parent
61984a5748
commit
d0fd9af5e6
3 changed files with 9 additions and 2 deletions
|
@ -177,6 +177,9 @@ void EditEntryWidget::loadEntry(Entry* entry, bool create, bool history, const Q
|
|||
}
|
||||
|
||||
setForms(entry);
|
||||
|
||||
setCurrentRow(0);
|
||||
setRowHidden(4, m_history);
|
||||
}
|
||||
|
||||
void EditEntryWidget::setForms(const Entry* entry, bool restore)
|
||||
|
@ -247,8 +250,6 @@ void EditEntryWidget::setForms(const Entry* entry, bool restore)
|
|||
|
||||
updateHistoryButtons(m_historyUi->historyView->currentIndex(), QModelIndex());
|
||||
|
||||
setCurrentRow(0);
|
||||
|
||||
m_mainUi->titleEdit->setFocus();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue