Julien Gaubert wrote:
> My problem
> -----------------
> The only problem remaining concerns the method setData().
> As you can see from the prompt, the underlying model is updated correctly.
> However, the method data keeps returning string "Foo" for inserted 
> index. I found that was because of indexToValue() method that keeps 
> returning "Foo" despites the underlying model has been updated in the 
> setData() method().
> I don't understand why because I explicitly emit the dataChanged 
> signal on this index (line 107) after updating underlying data.
>  

Hi, Julien.

This is a bug in Qt Jambi which has now been fixed for the next release.

The following patch should fix the bug:
   
    
http://qt.gitorious.org/qt-jambi/qt-jambi/commit/0a7ae86bd9ffbe6de02ad235f555103b3d9c0b86

-- Eskil

_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to