mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
added admin_submenu to ITrayAction
This commit is contained in:
parent
5bc34f18da
commit
b0e9e3b3ee
2 changed files with 21 additions and 1 deletions
|
|
@ -15,7 +15,11 @@ from openpype.api import (
|
|||
get_system_settings
|
||||
)
|
||||
from openpype.lib import get_pype_execute_args
|
||||
from openpype.modules import TrayModulesManager, ITrayService
|
||||
from openpype.modules import (
|
||||
TrayModulesManager,
|
||||
ITrayAction,
|
||||
ITrayService
|
||||
)
|
||||
from openpype import style
|
||||
|
||||
from .pype_info_widget import PypeInfoWidget
|
||||
|
|
@ -67,6 +71,9 @@ class TrayManager:
|
|||
|
||||
self.modules_manager.initialize(self, self.tray_widget.menu)
|
||||
|
||||
admin_submenu = ITrayAction.admin_submenu(self.tray_widget.menu)
|
||||
self.tray_widget.menu.addMenu(admin_submenu)
|
||||
|
||||
# Add services if they are
|
||||
services_submenu = ITrayService.services_submenu(self.tray_widget.menu)
|
||||
self.tray_widget.menu.addMenu(services_submenu)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue