Commit 60915935 authored by Albert Astals Cid's avatar Albert Astals Cid

Merge remote-tracking branch 'origin/Applications/18.04'

parents da2e40b9 68bd8642
......@@ -341,7 +341,7 @@ void SchemaWidget::generateStatement(QSqlDriver::StatementType statementType)
// set all fields to a value (NULL)
// values are needed to generate update and insert statements
if (statementType == QSqlDriver::UpdateStatement || QSqlDriver::InsertStatement)
if (statementType == QSqlDriver::UpdateStatement || statementType == QSqlDriver::InsertStatement)
for (int i = 0, n = rec.count(); i < n; ++i)
rec.setNull(i);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment