mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-09 07:22:50 -04:00
Sort entry view by group/title when switching to search/view respectively.
This commit is contained in:
parent
eb82df5994
commit
b61c47d42f
1 changed files with 2 additions and 0 deletions
|
@ -104,12 +104,14 @@ Entry* EntryView::entryFromIndex(const QModelIndex& index)
|
|||
|
||||
void EntryView::switchToSearch()
|
||||
{
|
||||
sortByColumn(0, Qt::AscendingOrder);
|
||||
showColumn(0);
|
||||
m_inSearch = true;
|
||||
}
|
||||
|
||||
void EntryView::switchToView()
|
||||
{
|
||||
sortByColumn(1, Qt::AscendingOrder);
|
||||
hideColumn(0);
|
||||
m_inSearch = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue