From 25841ea7db076e8364f58a21534902dd6d5c67be Mon Sep 17 00:00:00 2001 From: grossmj Date: Thu, 9 Sep 2021 21:21:22 +0930 Subject: [PATCH] Fix menu disabled for modal dialogs on macOS. Fixes #3007 --- gns3/dialogs/project_dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3/dialogs/project_dialog.py b/gns3/dialogs/project_dialog.py index 61fb7563d..3f68fca6a 100644 --- a/gns3/dialogs/project_dialog.py +++ b/gns3/dialogs/project_dialog.py @@ -236,7 +236,7 @@ def _addRecentFilesMenu(self): Add recent projects in a menu. """ - menu = QtWidgets.QMenu() + menu = QtWidgets.QMenu(parent=self) if Controller.instance().isRemote(): for action in self._main_window.recent_project_actions: menu.addAction(action)