mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #1862 from pypeclub/bugfix/workfiles_event_emit_fix
Workfiles tool event arguments fix
This commit is contained in:
commit
c9d90c1c3c
1 changed files with 2 additions and 2 deletions
|
|
@ -695,14 +695,14 @@ class FilesWidget(QtWidgets.QWidget):
|
|||
|
||||
file_path = os.path.join(os.path.normpath(self.root), work_file)
|
||||
|
||||
pipeline.emit("before.workfile.save", file_path)
|
||||
pipeline.emit("before.workfile.save", [file_path])
|
||||
|
||||
self._enter_session() # Make sure we are in the right session
|
||||
self.host.save_file(file_path)
|
||||
|
||||
self.set_asset_task(self._asset, self._task)
|
||||
|
||||
pipeline.emit("after.workfile.save", file_path)
|
||||
pipeline.emit("after.workfile.save", [file_path])
|
||||
|
||||
self.workfile_created.emit(file_path)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue