mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge pull request #1409 from ynput/enhancement/allow-to-copy-published-workfile-without-task
Workfiles tool: Allow copy of published workfile without task
This commit is contained in:
commit
1cece929dd
1 changed files with 3 additions and 2 deletions
|
|
@ -287,10 +287,11 @@ class FilesWidget(QtWidgets.QWidget):
|
|||
def _update_published_btns_state(self):
|
||||
enabled = (
|
||||
self._valid_representation_id
|
||||
and self._valid_selected_context
|
||||
and self._is_save_enabled
|
||||
)
|
||||
self._published_btn_copy_n_open.setEnabled(enabled)
|
||||
self._published_btn_copy_n_open.setEnabled(
|
||||
enabled and self._valid_selected_context
|
||||
)
|
||||
self._published_btn_change_context.setEnabled(enabled)
|
||||
|
||||
def _update_workarea_btns_state(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue