mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix issue when last item is removed
This commit is contained in:
parent
b42160eead
commit
790cca2569
1 changed files with 3 additions and 0 deletions
|
|
@ -27,6 +27,9 @@ class PluginLoadReportModel(QtGui.QStandardItemModel):
|
|||
parent = self.invisibleRootItem()
|
||||
parent.removeRows(0, parent.rowCount())
|
||||
|
||||
if report is None:
|
||||
return
|
||||
|
||||
new_items = []
|
||||
new_items_by_filepath = {}
|
||||
for filepath in report.crashed_plugin_paths.keys():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue