PDA

View Full Version : [2.0.1] please give ListStore modification methods a return value



chriswesdorp
4 Aug 2009, 4:08 AM
Hello,

Is it possible to give the ListStore methods add, remove and update a boolean return type to inform the caller of the result of the operation. For example, when I want to update a model in the store but I am not sure whether or not the model is already in the store, I first have to call findModel and the update or insert. Then I call update but it executes the findModel method again which makes it potentially slow on large sets.

Thanks,

Chris