QSqlTableModel bugfix: consider uncached rows submitted
Change-Id: I7ec0529b88fd8e3ae0cf8dadfcb5899579e52745 Reviewed-by: Honglei Zhang <honglei.zhang@nokia.com>
This commit is contained in:
parent
f7957f3993
commit
273508205c
@ -106,6 +106,8 @@ public:
|
||||
inline Op op() const { return m_op; }
|
||||
inline void setOp(Op o)
|
||||
{
|
||||
if (o == None)
|
||||
m_submitted = true;
|
||||
if (o == m_op)
|
||||
return;
|
||||
m_submitted = (o != Insert && o != Delete);
|
||||
|
Loading…
Reference in New Issue
Block a user