Merge pull request #360 from ynput/bugfix/applications-enabled-state

Applications: Disable applications addon if does not have settings available
This commit is contained in:
Jakub Trllo 2024-04-03 16:48:27 +02:00 committed by GitHub
commit 28b1b8a8d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,6 +11,10 @@ from .manager import ApplicationManager
class ApplicationsAddon(AYONAddon, IPluginPaths):
name = "applications"
def initialize(self, settings):
# TODO remove when addon is removed from ayon-core
self.enabled = self.name in settings
def get_app_environments_for_context(
self,
project_name,