Using delegates in subWindows (infinite setModelData())



  • I try to make my first MDI-app in Qt. I create a TableView in a window ,set delegate for it and call openPersistentEditor() for each cell. After that when I change a value in some cell, the folllowing occurs: after finish the editing setModelData() is called, but every next click on any point in this window call setModelData() again. When I change window type to Window, setModelData called only once. Is that normal?
    I don't know, which code may be neccesary for solving my problem, because i tried to do something on difrent delegates, windows and TableView and without success.


Log in to reply
 

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