Skip to content

Commit

Permalink
Fix adding fields to mssql layers always resulted in error (fix #13340)
Browse files Browse the repository at this point in the history
(cherry-picked from d827076)
  • Loading branch information
nyalldawson committed Feb 23, 2016
1 parent dd89226 commit d607a56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/mssql/qgsmssqlprovider.cpp
Expand Up @@ -998,6 +998,7 @@ bool QgsMssqlProvider::addAttributes( const QList<QgsField> &attributes )
return false;
}

loadFields();
return true;
}

Expand Down

0 comments on commit d607a56

Please sign in to comment.