Fixed: Cloned entries are not immediately sorted
git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@266 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
parent
5be497a26c
commit
d08a2f2372
|
@ -133,6 +133,8 @@ void KeepassEntryView::OnCloneEntry(){
|
||||||
db->cloneEntry(((EntryViewItem*)entries[i])->EntryHandle);
|
db->cloneEntry(((EntryViewItem*)entries[i])->EntryHandle);
|
||||||
updateEntry(Items.back());
|
updateEntry(Items.back());
|
||||||
}
|
}
|
||||||
|
if (header()->isSortIndicatorShown())
|
||||||
|
sortByColumn(header()->sortIndicatorSection(), header()->sortIndicatorOrder());
|
||||||
emit fileModified();
|
emit fileModified();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue