Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Using delegates in subWindows (infinite setModelData())
Dani Minch last edited by
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.