mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
Tweak comment
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
This commit is contained in:
parent
46ffbb936d
commit
72f6f9a47a
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class DataModel(QAbstractTableModel):
|
|||
self, index: QModelIndex, item: ItemId, old_row: Optional[CellRow]
|
||||
) -> CellRow:
|
||||
"""Fetch a row from the backend, add it to the cache and return it.
|
||||
Thereby, handle callbacks if the row is being deleted or restored.
|
||||
Then fire callbacks if the row is being deleted or restored.
|
||||
"""
|
||||
new_row = self._fetch_row_from_backend(item)
|
||||
# row state has changed if existence of cached and fetched counterparts differ
|
||||
|
|
Loading…
Reference in a new issue