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:
Jakub Trllo 2025-08-13 14:15:01 +02:00 committed by GitHub
commit 1cece929dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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):