mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-24 02:51:38 -08:00
1 parent
6481ecccd7
commit
e657cbf43b
1 file changed
+2
-2
@@ -159,9 +159,9 @@ void EntryHistoryModel::deleteIndex(QModelIndex index)
|
||||
auto entry = entryFromIndex(index);
|
||||
if (entry) {
|
||||
beginRemoveRows(QModelIndex(), index.row(), index.row());
|
||||
m_historyEntries.removeAll(entry);
|
||||
m_historyEntries.removeAt(index.row());
|
||||
m_deletedHistoryEntries << entry;
|
||||
m_historyModifications.erase(m_historyModifications.begin() + index.row());
|
||||
calculateHistoryModifications();
|
||||
endRemoveRows();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user