mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
trigger on_asset_changed when assets are done with refreshing
This commit is contained in:
parent
b92501cc0a
commit
25e65a20a4
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ class AssetsPanel(QtWidgets.QWidget):
|
|||
self.assets_widget.refresh()
|
||||
|
||||
# Force asset change callback to ensure tasks are correctly reset
|
||||
tools_lib.schedule(self.on_asset_changed, 0.05, channel="assets")
|
||||
self.assets_widget.refreshed.connect(self.on_asset_changed)
|
||||
|
||||
def on_asset_changed(self):
|
||||
"""Callback on asset selection changed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue