mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #4086 from pypeclub/bugfix/publish_report_viewer
Publish Report Viewer: Fix small bugs
This commit is contained in:
commit
c6e8bc43b3
2 changed files with 4 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():
|
||||
|
|
|
|||
|
|
@ -367,6 +367,7 @@ class LoadedFilesView(QtWidgets.QTreeView):
|
|||
def _on_rows_inserted(self):
|
||||
header = self.header()
|
||||
header.resizeSections(header.ResizeToContents)
|
||||
self._update_remove_btn()
|
||||
|
||||
def resizeEvent(self, event):
|
||||
super(LoadedFilesView, self).resizeEvent(event)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue