mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-01 09:18:12 -05:00
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