Sync 2 Views (PahtView/ListView) and one Model



  • Hi,

    I have a model and one PathView and one ListView.
    The problem is the delegate from the PathView insert a node info into a javascript array and the delegate from the ListView reads it.
    I used a simple QList as model and all was ok. But after switching to a subclassed model from QAbstractListModel the ListView got the info about inserting a row first with the simple QList the PathView gets the info first. I know this was luck but how can I force the PathView delegate to run first?

    Thanks in advance.
    Cheers,
    Lichti


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.