mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
adding a Qt lockfile dialog for lockfile tasks
This commit is contained in:
parent
d6b7e666e8
commit
9a19da923c
2 changed files with 33 additions and 12 deletions
|
|
@ -469,9 +469,7 @@ class FilesWidget(QtWidgets.QWidget):
|
|||
host = self.host
|
||||
if self._is_workfile_locked(filepath):
|
||||
# add lockfile dialog
|
||||
dialog = WorkfileLockDialog(filepath, parent=self)
|
||||
if not dialog.exec_():
|
||||
return
|
||||
WorkfileLockDialog(filepath)
|
||||
|
||||
if isinstance(host, IWorkfileHost):
|
||||
has_unsaved_changes = host.workfile_has_unsaved_changes()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue