Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.0.2, 5.1.0 RC1
-
None
-
Windows 7, Qt 5.0.2, Qt 5.1.0 RC1
Description
When using a QDataWidgetMapper connected to a QSqlTableModel with ManualSubmit policy, only the first field being mapped to an widget will be updated correctly on submit call.
Steps to reproduce:
- Start app
- Change the lineedits to 123 and 456
- Hit the button
- See how only 123 was submitted, the other one was set to bbbbb
Expected output
123
456Actual output123
bbbbb
If you set the Submitpolicy of the mapper to AutoSubmit, everything works as intended, even the manual call to submit when clicking the button.