Skip to content

Commit

Permalink
Fix menu disabled for modal dialogs on macOS. Fixes #3007
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Sep 9, 2021
1 parent 3d3b4f9 commit 25841ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gns3/dialogs/project_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 25841ea

Please sign in to comment.