Tweak comment

Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
This commit is contained in:
RumovZ 2021-09-28 11:48:35 +02:00 committed by GitHub
parent 46ffbb936d
commit 72f6f9a47a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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