modal dialog called from QAction does not close until action terminates
-
Under Qt5.9:
A QAction
Ais connected to a MainWindow member functionfthat executes a QFileDialogD, then takes quite a while to load the selected files. Against my intentions, the file dialog remains open untilfterminates. CallingD.close()does not help. LettingDgo out of scope does not help.My best hypothesis right now is that the unexpected behavior of
Dinfhas to do withfbeing called from a QAction. Is this plausible, or even a known problem?