I want to auto save when the user changes a value in a spinbox delegate. But how do I update a spinbox delegate editor model without closing the editor(not perform commitData and closeEditor)?
I want to auto save when the user changes a value in a spinbox delegate. But how do I update a spinbox delegate editor model without closing the editor(not perform commitData and closeEditor)?
You can call setModelData manually or emit commitData() from the delegate.
I have followed your advice and used commitdata()...works like a charm! Thank you wysota.
Bookmarks