diff --git a/direct/src/tkpanels/DirectSessionPanel.py b/direct/src/tkpanels/DirectSessionPanel.py index a9560f7363..f11cafd2dd 100644 --- a/direct/src/tkpanels/DirectSessionPanel.py +++ b/direct/src/tkpanels/DirectSessionPanel.py @@ -122,6 +122,11 @@ class DirectSessionPanel(AppShell): variable = self.directWidgetOnTop, command = self.toggleWidgetOnTop) + self.menuBar.addmenuitem('DIRECT', 'command', + 'Deselect All', + label = 'Deselect All', + command = direct.deselectAll) + # Get a handle to the menu frame menuFrame = self.menuFrame