mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
task widget does not skip unsetting of asset
This commit is contained in:
parent
9af516f9b0
commit
96cfc2e4da
1 changed files with 0 additions and 4 deletions
|
|
@ -226,10 +226,6 @@ class TasksWidget(QtWidgets.QWidget):
|
||||||
self._tasks_model.refresh()
|
self._tasks_model.refresh()
|
||||||
|
|
||||||
def set_asset_id(self, asset_id):
|
def set_asset_id(self, asset_id):
|
||||||
# Asset deselected
|
|
||||||
if asset_id is None:
|
|
||||||
return
|
|
||||||
|
|
||||||
# Try and preserve the last selected task and reselect it
|
# Try and preserve the last selected task and reselect it
|
||||||
# after switching assets. If there's no currently selected
|
# after switching assets. If there's no currently selected
|
||||||
# asset keep whatever the "last selected" was prior to it.
|
# asset keep whatever the "last selected" was prior to it.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue