View Full Version : Autosave in a spinbox delegate
SailinShoes
18th August 2008, 14:14
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)?
wysota
19th August 2008, 01:49
You can call setModelData manually or emit commitData() from the delegate.
SailinShoes
19th August 2008, 08:20
I have followed your advice and used commitdata()...works like a charm! Thank you wysota.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.