mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
widget components is ready for handling publish result
This commit is contained in:
parent
ed2fb8b7cd
commit
2005484fe1
1 changed files with 5 additions and 1 deletions
|
|
@ -119,6 +119,10 @@ class ComponentsWidget(QtWidgets.QWidget):
|
|||
publish.set_context(
|
||||
data['project'], data['asset'], 'standalonepublish'
|
||||
)
|
||||
publish.publish(data)
|
||||
result = publish.publish(data)
|
||||
# Clear widgets from components list if publishing was successful
|
||||
if result:
|
||||
self.drop_frame.components_list.clear_widgets()
|
||||
self.drop_frame._refresh_view()
|
||||
finally:
|
||||
self.working_stop()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue