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
master
sniperbeamer 16 years ago
parent 5be497a26c
commit d08a2f2372
  1. 2
      src/lib/EntryView.cpp

@ -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();
} }