Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, September 2007
QSqlRelationalTableModel + QDataWidgetMapper. Model changing and editing at the same time.


Message 1 in thread

Let's assume that we have such model:
ID   NAME
1    Bear
2    Donkey
3    Rabbit
4    Owl

So we start to edit record with ID = 4.
But at the same time someone delete record with ID = 2.
And when we make mapper->submit(); none records will changes.
How should I avoid this situation?