mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-26 22:36:59 -05:00
parent
6481ecccd7
commit
e657cbf43b
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user