fix 'get_product_item_indexes'

This commit is contained in:
Jakub Trllo 2024-07-18 11:42:58 +02:00
parent 05e71ef332
commit 0b53b8f336

View file

@ -132,7 +132,7 @@ class ProductsModel(QtGui.QStandardItemModel):
def get_product_item_indexes(self):
return [
item.index()
self.indexFromItem(item)
for item in self._items_by_id.values()
]