mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
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:
commit
28b1b8a8d9
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue