Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#539) Prevent context menu events to be propagated to parent
When a context menu is created in the viewer is, and the action triggered is displaying a dialog, the context menu of QMainWindow is displayed after the action has finished Setting this policy will make sure the handling is not deferred to the widget's parent, which solves the problem - Qt::PreventContextMenu
- Loading branch information