Details
-
Bug
-
Resolution: Done
-
P4: Low
-
4.5.3
-
None
-
All
-
8b1d9d308b1f31e1b9c817e0d91e14baa3b76d6b
Description
Using QDialog as a delegate is problematic because QDialog::done(int) calls hide() before setResult(), therefore the result cannot be inspected by the Delegate's setModelData() method.
QDialog::done(int) should invoke setResult() before calling hide().
Attachments
Issue Links
- is duplicated by
-
QTBUG-12156 CLONE -QDialog as a delegate woes
-
- Closed
-
-
QTBUG-14430 CLONE - QDialog as a delegate woes
-
- Closed
-
- relates to
-
QTBUG-118226 Rejected QMessageBox emits Accepted Signal
-
- Closed
-
For Gerrit Dashboard: QTBUG-6018 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
147871,6 | Fix result handling in QDialog::done | 5.8 | qt/qtbase | Status: MERGED | +2 | 0 |