From bf868eb97e9e6399fc4f69cc77cadf2d3272e8c8 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Wed, 24 Jun 2020 10:16:57 +0200 Subject: [PATCH] removed items attribute from class definition --- pype/tools/tray/pype_tray.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pype/tools/tray/pype_tray.py b/pype/tools/tray/pype_tray.py index 18cf1e0982..436734e712 100644 --- a/pype/tools/tray/pype_tray.py +++ b/pype/tools/tray/pype_tray.py @@ -12,12 +12,7 @@ class TrayManager: Load submenus, actions, separators and modules into tray's context. """ - items = ( - config.get_presets(first_run=True) - .get('tray', {}) - .get('menu_items', []) - ) - available_sourcetypes = ['python', 'file'] + available_sourcetypes = ["python", "file"] def __init__(self, tray_widget, main_window): self.tray_widget = tray_widget