Commit ee60f23d authored by Samuel GAIST's avatar Samuel GAIST Committed by Samuel GAIST
Browse files

[backend][delegates] Update asset model class for assert

parent 457e96b8
......@@ -26,7 +26,7 @@
from PyQt5.QtWidgets import QComboBox
from PyQt5.QtWidgets import QStyledItemDelegate
from .assetmodel import AssetModel
from .assetmodel import AbstractAssetModel
class AssetItemDelegate(QStyledItemDelegate):
......@@ -35,7 +35,7 @@ class AssetItemDelegate(QStyledItemDelegate):
def __init__(self, asset_model, parent=None):
if not isinstance(asset_model, AssetModel):
if not isinstance(asset_model, AbstractAssetModel):
raise TypeError("Wrong model type")
self.asset_model = asset_model
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment