mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 22:02:15 +01:00
delete group apps without inputs
This commit is contained in:
parent
b342760446
commit
eb8de6b3fa
1 changed files with 6 additions and 2 deletions
|
|
@ -196,8 +196,12 @@ class LocalApplicationsWidgets(QtWidgets.QWidget):
|
|||
|
||||
# Create App group specific widget and store it by the key
|
||||
group_widget = AppGroupWidget(entity, self)
|
||||
self.widgets_by_group_name[key] = group_widget
|
||||
self.content_layout.addWidget(group_widget)
|
||||
if group_widget.widgets_by_variant_name:
|
||||
self.widgets_by_group_name[key] = group_widget
|
||||
self.content_layout.addWidget(group_widget)
|
||||
else:
|
||||
group_widget.setVisible(False)
|
||||
group_widget.deleteLater()
|
||||
|
||||
def update_local_settings(self, value):
|
||||
if not value:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue