mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
emit workfile arguments as list instead of path
This commit is contained in:
parent
16b75658e6
commit
281e6645ff
1 changed files with 2 additions and 2 deletions
|
|
@ -695,14 +695,14 @@ class FilesWidget(QtWidgets.QWidget):
|
|||
|
||||
file_path = os.path.join(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