I have I custom tableview conected with a custom tablemodel.
No I have only doubleclick as editortrigger.
I have no delegates.
The table works fine.
Ok,
In release mode, I do doubleclick, write 'asasas' and when press 'down' or 'up' program crash (I have time to view that tablemodel::setData is called with success).
Ok I go to debug mode and it does not happen, but I discover that if I write 'as' very fast I have a crash. (I press the keys when the cell is selected but not in edit mode)
Ok, I clean the project (staying at debug mode, I clean the debug files?) , run the project and the debug mode behave exactly as release mode (crash on edit and 'down' or 'up'¡ key, but works if I write 'as' very fast). I go to 'release' mode and it behaves as old debug mode (that is to say, can press down or up when editing but crash when write 'as' very fast).
It is a madness ....
Any idea ?
( Maybe I have to learn how to debug this ? I have mingw)
(When I press down or up when editing, the value is set to the cell and the next-previous is selected, as user expect) .
(I cannot leave the code because it is a big project with a lot of dependencies).
Bookmarks