Priority: P2: Important
Affects Version/s: 5.5.0
Fix Version/s: None
Component/s: Widgets: Itemviews
Regards this example:
SQL Widget Mapper example's combobox stops updating the information on that record once it has been changed, instead cloning the most recent combobox entry when using the next/previous buttons. This occurs regardless of whether the underlying database has been correctly updated.
Specific steps to replicate:
1. Open Sql Widget Mapper Example in QtCreator, run
2. Click 'Next'. Name field should read 'Bob', Type should read 'Work'.
3. Change 'Work' to 'Other'.
4. Click 'Previous' (Alice). Click 'Next' (Bob).
Note: At this point Bob's 'Type' field shows 'Home' for me. Notably, this is Alice's 'Type', neither Bob's original 'Type' nor his recently set 'Type'.
Optional: Change other records, then Next and Previous around to watch how the comboBox stops updating it's text/index once it has been changed, instead taking the value of whichever record was displayed immediately before.
See this forum post:
May be related to: