mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 06:12:19 +01:00
fixed asset not selected bug
This commit is contained in:
parent
08712b4cb5
commit
58d941d76d
1 changed files with 2 additions and 4 deletions
|
|
@ -245,10 +245,8 @@ class FamilyWidget(QtWidgets.QWidget):
|
|||
asset_name = self.input_asset.text()
|
||||
subset_name = self.input_result.text()
|
||||
if (
|
||||
(
|
||||
asset_name.strip() != '' or
|
||||
asset_name == self.parent_widget.NOT_SELECTED
|
||||
) and subset_name.strip() != ''
|
||||
asset_name != self.parent_widget.NOT_SELECTED and
|
||||
subset_name.strip() != ''
|
||||
):
|
||||
asset = self.db.find_one({
|
||||
'type': 'asset',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue