Closed prjemian closed 1 year ago
The Qt Window Flags Examples page describes settings which might resolve this.
Or, ensure the about window is a singleton.
Per the QDialog documentation, changing this line: https://github.com/BCDA-APS/gemviz/blob/a9a88c27e891d572fa465d8fb23b9e89cb0cb0e8/gemviz/mainwindow.py#L60
to
about.open()
will resolve the problem.
Th QDialog documentation has this note about exec():
Note
Avoid using this function; instead, use open() . ...
Since #26, when the License window is shown, it cannot be closed directly since the About window is modal. Closing the About window closes the license.