Skip to content

Fix button menu lifetime

Summary

This merge request fixes an issue where creating a QMenu within a method would result in its destruction when using PySide2.

The simple fix is to give the menu a parent.

Relevant issue(s) fixed:

Fixes #248 (closed)

Merge request reports

Loading